{"id":"CVE-2026-31861","published":"2026-03-11T17:22:10Z","modified":"2026-03-12T14:07:17Z","title":"Shell Command Injection in Git Routes [CloudCLI UI]","vendor":"siteboon","product":"claudecodeui","tier":"tail","description":{"text":"Cloud CLI (aka Claude Code UI) is a desktop and mobile UI for Claude Code, Cursor CLI, Codex, and Gemini-CLI. Prior to 1.24.0, The /api/user/git-config endpoint constructs shell commands by interpolating user-supplied gitName and gitEmail values into command strings passed to child_process.exec(). The input is placed within double quotes and only \" is escaped, but backticks (`), $() command substitution, and \\ sequences are all interpreted within double-quoted strings in bash. This allows authenticated attackers to execute arbitrary OS commands via the git configuration endpoint. This vulnerability is fixed in 1.24.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00788,"percentile":0.52756,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04","tags":["x_refsource_MISC"]},{"url":"https://github.com/siteboon/claudecodeui/releases/tag/v1.24.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.55},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"siteboon","affectedVersions":[{"vendor":"siteboon","product":"claudecodeui","versions":["< 1.24.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-12T14:07:14.414700Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@siteboon/claude-code-ui","vulnerableRanges":["<1.24.0"],"patched":["1.24.0"],"from":["GHSA-7fv4-fmmc-86g2"],"provenance":"source"}],"summary":{"text":"The Cloud CLI (Claude Code UI) desktop and mobile interface contains a shell command injection flaw in its Git routes, specifically in the /api/user/git-config endpoint, where the gitName and gitEmail values are interpolated into commands run via child_process.exec() with only double quotes escaped. An attacker with network access and valid authentication, requiring no user interaction and using the default configuration, can inject backticks, $() substitution, or backslash sequences to execute arbitrary operating system commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:01:42Z"},"euvd":{"id":"EUVD-2026-11263","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-31861","published":"2026-03-11","fixed":"1.24.0","kev":false},{"cve":"CVE-2026-31862","published":"2026-03-11","fixed":"1.24.0","kev":false},{"cve":"CVE-2026-31975","published":"2026-03-11","fixed":"1.25.0","kev":false,"link":{"from":"CVE-2026-31861","to":"CVE-2026-31975","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@siteboon/claude-code-ui","fromFixed":"1.24.0","toFixed":"1.25.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + description similarity"}]}}],"package":"npm:@siteboon/claude-code-ui"}}