p PatchFirst

CVE-2026-31861

CVE-2026-31861 · Shell Command Injection in Git Routes [CloudCLI UI]

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 8.7 · Élevée · EPSS 6,3% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

Sources originales

Vérifiez votre serveur →