Cloud CLI has Command Injection via Multiple Parameters
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-31862
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 16:07 UTC · Revision 1
Source evidence
Cloud CLI has Command Injection via Multiple Parameters
core-osv · Original sourcePublished 11 Mar 2026, 17:17 UTC
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.
osv:CVE-2026-31862
Complete source record
{
"id": "22a3b510f61af6b335c5b1077bba00a140b6690386422cdd7bc0abe5545216bc",
"url": "https://osv.dev/vulnerability/CVE-2026-31862",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Cloud CLI has Command Injection via Multiple Parameters",
"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, 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.",
"evidence": "osv:CVE-2026-31862",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-31862",
"aliases": [
"CVE-2026-31862",
"GHSA-f2fc-vc88-6w7q"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/siteboon/claudecodeui",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bc164140e031f8010a4e672ac8bc20b61e84701a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.24.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "bc164140e031f8010a4e672ac8bc20b61e84701a"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.24.0"
},
{
"cpe": "cpe:2.3:a:cloudcli:cloud_cli:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.24.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.23.2",
"v1.22.1",
"v1.22.0",
"v1.21.0",
"v1.20.1",
"v1.19.1",
"v1.19.0",
"v1.18.2",
"v1.18.1",
"v1.18.0",
"v1.17.1",
"v1.16.4",
"v1.16.3",
"v1.16.2",
"v1.15.0",
"v1.14.0",
"v1.13.6",
"v1.13.5",
"v1.13.3",
"v1.13.2",
"v1.13.0",
"v1.12.0",
"v1.11.0",
"v1.10.5",
"v1.10.4",
"v1.10.3",
"v1.10.2",
"v1.10.1",
"v1.10.0",
"v1.9.1",
"v1.9.0",
"v1.8.12",
"v1.8.10",
"v1.8.9",
"v1.8.8",
"v1.8.6",
"v1.8.5",
"v1.8.4",
"v1.8.3",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"V1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.0",
"v1.2.0",
"v1.1.4",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31862.json"
}
}
],
"modified": "2026-10-28T02:30:51.224215361Z",
"provider": "osv",
"references": [
"https://github.com/siteboon/claudecodeui/releases/tag/v1.24.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31862.json",
"https://github.com/siteboon/claudecodeui/security/advisories/GHSA-f2fc-vc88-6w7q",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31862"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31862.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31862",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519825,
"published_at": "2026-03-11T17:17:47.941+00:00"
}