HighVulnerabilityLLM-specific
CVE-2026-96620: Claude Agent SDK argument injection via resume option enabling command execution
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-96620
- Published
- Record updated
- Affected
- claude-agent-sdk < 0.2.121
- Fixed in
- 0.2.121
- released July 16, 2026, 91 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Claude Agent SDK for Python, prior to 0.2.121, passes the resume option to the Claude CLI as a separate token without validation. A dash-leading value is parsed as an independent CLI flag, so an attacker can inject --mcp-config to define a stdio MCP server and execute arbitrary commands at CLI startup, outside SDK permission controls. Exploitation requires an application that passes untrusted input as the session ID to resume.
Mitigation
Fixed in version 0.2.121.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- claude-agent-sdkPyPILLM dependency since 2025-09-28, 7 tracked dependents
Topics
Related items
- MediumCVE-2026-139894: davila7 claude-code-templates missing authentication in Claude API proxySame vendor, NVD/CVE Database
- HighGHSA-qx49-fqc8-xw99: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverSame vendor, GitHub Advisory Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSame vendor, NVD/CVE Database
- HighCVE-2026-88066: Claude Desktop on Windows git.exe execution via search pathSame vendor, NVD/CVE Database
- HighCVE-2026-62331: praktor path traversal via Telegram document upload filenamesSame vendor, NVD/CVE Database