RCE in Cloudcli Cloud Cli

CVE-2026-31861

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.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.007 (50.4th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 50.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-31861: fell from 0.060 to 0.007.

EPSS over last 30 days · oldest: 0.060 · newest: 0.007 · change: -0.054

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-31861?
CVE-2026-31861 is a high-severity vulnerability in Cloudcli Cloud Cli, classified under Code Injection. CVSS score: 8.8/10. Published 2026-03-11.
How severe is CVE-2026-31861?
High severity. CVSS v3 base score is 8.8 out of 10.