CVE-2026-31861

Source
https://cve.org/CVERecord?id=CVE-2026-31861
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31861.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31861
Aliases
Published
2026-03-11T17:22:10.111Z
Modified
2026-04-10T05:42:51.245757Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Shell Command Injection in Git Routes [CloudCLI UI]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31861.json",
    "cwe_ids": [
        "CWE-94"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/siteboon/claudecodeui

Affected ranges

Type
GIT
Repo
https://github.com/siteboon/claudecodeui
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

V1.*
V1.7.0
v1.*
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.10.0
v1.10.1
v1.10.2
v1.10.3
v1.10.4
v1.10.5
v1.11.0
v1.12.0
v1.13.0
v1.13.2
v1.13.3
v1.13.5
v1.13.6
v1.14.0
v1.15.0
v1.16.2
v1.16.3
v1.16.4
v1.17.1
v1.18.0
v1.18.1
v1.18.2
v1.19.0
v1.19.1
v1.2.0
v1.20.1
v1.21.0
v1.22.0
v1.22.1
v1.23.2
v1.5.0
v1.6.0
v1.6.1
v1.8.0
v1.8.1
v1.8.10
v1.8.12
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.8.6
v1.8.8
v1.8.9
v1.9.0
v1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31861.json"