{"answers":{"affected":"2 open source packages ship an affected version, including @siteboon/claudecodeui. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-31862 in the wild and no public exploit code.","fix":"Upgrade @siteboon/claudecodeui to 1.24.0 or later.","what":"CVE-2026-31862 is a critical command injection vulnerability in siteboon claudecodeui, published on 11 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31862 and fix it if it is affected.\n\nWhat it is: CVE-2026-31862 is a critical command injection vulnerability in siteboon claudecodeui, published on 11 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-31862 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @siteboon/claudecodeui (npm): affected all versions; fixed in 1.24.0\n- @siteboon/claudecodeui (npm): affected all versions; fixed in 1.24.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31862/ (Markdown: https://insights.sbomify.com/CVE-2026-31862/index.md)","id":"CVE-2026-31862","markdown":"https://insights.sbomify.com/CVE-2026-31862/index.md","name":"CVE-2026-31862","record":{"aliases":["GHSA-f2fc-vc88-6w7q"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Cloud CLI UI","requires_auth":"high_privilege","summary":"Authenticated attackers can execute arbitrary OS commands via Git-related API endpoints in Cloud CLI due to unsafe string interpolation.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cloud_cli","vendor":"cloudcli"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cloud CLI has Command Injection via Multiple Parameters","id":"CVE-2026-31862","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Improper Restriction of Excessive Authentication Attempts in github.com/anyproto/anytype-heart","id":"CVE-2026-31863"},"packages":[{"ecosystem":"npm","fixed":["1.24.0"],"introduced":["0"],"last_affected":[],"package":"@siteboon/claudecodeui","purl":null,"source":"GHSA-f2fc-vc88-6w7q"},{"ecosystem":"npm","fixed":["1.24.0"],"introduced":["0"],"last_affected":[],"package":"@siteboon/claudecodeui","purl":"pkg:npm/%40siteboon/claudecodeui","source":"GHSA-f2fc-vc88-6w7q"}],"prev":{"headline":"Shell Command Injection in Git Routes [CloudCLI UI]","id":"CVE-2026-31861"},"products":["claudecodeui"],"published":"2026-03-11","related":[{"cvss_score":8.7,"headline":"Shell Command Injection in Git Routes [CloudCLI UI]","id":"CVE-2026-31861","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":8.7,"headline":"Cloud CLI WebSocket shell injection","id":"CVE-2026-31975","kev_date_added":null,"published":"2026-03-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-12","vendors":["siteboon"]},"summary":"Authenticated attackers can execute arbitrary OS commands via Git-related API endpoints in Cloud CLI due to unsafe string interpolation.","url":"https://insights.sbomify.com/CVE-2026-31862/"}