← AI agent vulnerabilities

CVE-2026-31862

Cloud CLI (aka Claude Code UI)

9.1
Severity
Critical
Published
March 11, 2026
Last modified
June 17, 2026

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, multiple Git-related API endpoints use execAsync() with string interpolation of user-controlled parameters (file, branch, message, commit), allowing authenticated attackers to execute arbitrary OS commands. This vulnerability is fixed in 1.24.0.

CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Weakness

References

CVE-2026-31862 on NVD

Listed in

CriticalMCP serversCommand injection

More Cloud CLI (aka Claude Code UI) CVEs

Mar 11
CVE-2026-319759.8

OS Command Injection via WebSocket Shell.

Mar 11
CVE-2026-318618.8

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().