CriticalVulnerability
CVE-2023-46248: Cody AI VSCode extension remote code execution through malicious cody.json
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2023-46248
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
The Cody AI VSCode extension, versions 0.10.0 through 0.14.0, is vulnerable to Remote Code Execution under certain conditions. An attacker controlling a malicious repository can modify `.vscode/cody.json` to overwrite Cody commands, and running a command such as /explain or /doc in that repository can allow arbitrary code execution, even when VS Code Workspace Trust blocks code execution.
Mitigation
Fixed in version 0.14.1 of the Cody VSCode extension. If users cannot promptly upgrade, they should not open any untrusted repositories with the Cody extension loaded.
Topics
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database