Ad

CVE-2026-31861

HIGH CVSS 4.0: 8.7 EPSS 0.06%
Updated Mar 17, 2026
Cloudcli
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 1.24.0
Fixed In 1.24.0
Type CWE-94 (Code Injection)
Vendor Cloudcli
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Cloudcli Cloud_Cli
cpe:2.3:a:cloudcli:cloud_cli:*:*:*:*:*:*:*:*
1.24.0