{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137185","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-11-25T21:33:08.026Z","datePublished":"2026-11-30T18:38:13.612Z","dateUpdated":"2026-12-01T13:23:15.496Z"},"containers":{"cna":{"title":"Code Graph RAG: EXECUTE_SHELL allowlist and dangerous-pattern blacklist both miss xargs <interpreter> -c — approved/yolo shell commands reach unconfined RCE","problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/vitali87/code-graph-rag/security/advisories/GHSA-wvxg-744g-6pcg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vitali87/code-graph-rag/security/advisories/GHSA-wvxg-744g-6pcg"},{"name":"https://github.com/vitali87/code-graph-rag/commit/033b64be855c0d2c0767d8dd225fe0129ebe05da","tags":["x_refsource_MISC"],"url":"https://github.com/vitali87/code-graph-rag/commit/033b64be855c0d2c0767d8dd225fe0129ebe05da"},{"name":"https://github.com/vitali87/code-graph-rag/commit/25c4c7ecfc8d030380ab11fbacd412db210193fc","tags":["x_refsource_MISC"],"url":"https://github.com/vitali87/code-graph-rag/commit/25c4c7ecfc8d030380ab11fbacd412db210193fc"},{"name":"https://github.com/vitali87/code-graph-rag/releases/tag/v0.0.845","tags":["x_refsource_MISC"],"url":"https://github.com/vitali87/code-graph-rag/releases/tag/v0.0.845"}],"affected":[{"vendor":"vitali87","product":"code-graph-rag","versions":[{"version":"< 0.0.845","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-11-30T18:38:13.612Z"},"descriptions":[{"lang":"en","value":"Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. In 0.0.844 and earlier, execute_shell_command in codebase_rag/tools/shell_command.py validates only the base command, not the program launched by allowlisted xargs. Its dangerous-pattern filter misses Python interpreter code using modules such as subprocess instead of importing os, allowing an unlisted interpreter to execute arbitrary code. An attacker influencing a model-issued command can execute code outside the project root as the process user after human approval in default mode, or without approval in --yolo mode. The noninteractive shell wrapper does not allow xargs. This issue is fixed in 0.0.845."}],"source":{"advisory":"GHSA-wvxg-744g-6pcg","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/vitali87/code-graph-rag/security/advisories/GHSA-wvxg-744g-6pcg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-01T13:22:49.202455Z","id":"CVE-2026-137185","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-01T13:23:15.496Z"}}]}}