Shell Command Injection in Git Routes [CloudCLI UI]
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@siteboon/claude-code-uinpm | < 1.24.0 | 1.24.0 |
Affected products
2- siteboon/claudecodeuiv5Range: < 1.24.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-7fv4-fmmc-86g2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-31861ghsaADVISORY
- github.com/siteboon/claudecodeui/commit/86c33c1c0cb34176725a38f46960213714fc3e04ghsax_refsource_MISCWEB
- github.com/siteboon/claudecodeui/releases/tag/v1.24.0ghsax_refsource_MISCWEB
- github.com/siteboon/claudecodeui/security/advisories/GHSA-7fv4-fmmc-86g2ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.