{"cve":"CVE-2026-31861","nvd":{"published":"2026-03-11T18:16:24.887","modified":"2026-06-17T10:34:39.100","status":"Analyzed","description":"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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["https://github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04","https://github.com/siteboon/claudecodeui/releases/tag/v1.24.0","https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2","https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2"],"products":["cloudcli:cloud_cli"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-31861","score":0.06273,"percentile":0.93581,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-7fv4-fmmc-86g2","url":"https://osv.dev/vulnerability/GHSA-7fv4-fmmc-86g2","summary":"@siteboon/claude-code-ui is Vulnerable to Shell Command Injection in Git Routes","modified":"2026-03-13T10:56:25.434892Z","packages":[{"ecosystem":"npm","name":"@siteboon/claude-code-ui","purl":"pkg:npm/%40siteboon/claude-code-ui","ranges":["<1.24.0"],"fixed":["1.24.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}