# CVE-2026-31861: Shell Command Injection in Git Routes [CloudCLI UI]

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.85%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-10T23:57:23.000Z
- Modified: 2026-06-17T10:34:39.100Z
- Also known as: GHSA-7fv4-fmmc-86g2
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- siteboon claudecodeui: < 1.24.0
- @siteboon/claude-code-ui (npm): before 1.24.0
- cloudcli cloud_cli: before 1.24.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2> (exploit, vendor-advisory, web)
- <https://github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04> (patch, web)
- <https://github.com/siteboon/claudecodeui/releases/tag/v1.24.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31861> (advisory)
- <https://github.com/siteboon/claudecodeui> (package)

## Sources

- CVE List: [CVE-2026-31861](https://www.cve.org/CVERecord?id=CVE-2026-31861), CVE Terms of Use, modified 2026-03-12
- GitHub Advisory Database: [GHSA-7fv4-fmmc-86g2](https://github.com/advisories/GHSA-7fv4-fmmc-86g2), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2026-31861](https://nvd.nist.gov/vuln/detail/CVE-2026-31861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31861 · Whole record: https://cve.day/CVE-2026-31861.json · Rebuilt by cve.day 2026-11-25T22:59:15.758Z
