CVE-2026-31861CWE-94

Shell Command Injection in Git Routes [CloudCLI UI]

High · published March 11, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
52.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00705 · 52.9th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-03-11T17:22Z
EPSS history
Timeline
  • 11 MAR 17:22Z
    Shell Command Injection in Git Routes [CloudCLI UI]
    cvelistv5