cvedb.io
CVE-2026-31861
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2026-03-11T18:16:24.887 · Last modified 2026-06-17T10:34:39.100

Summary

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.

Affected products

cloudcli — cloud_cli

Does this affect you?

Add your gear to cvedb and we'll alert you only when cloudcli ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.