CVE-2026-96620: anthropics claude-agent-sdk-python · Improper Input Validation
Affects anthropics claude-agent-sdk-pythonSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical : upgrade to 0.2.121 as a priority.
Data as of 29 Nov 2026, 18:37 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.2.121
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade claude-agent-sdk-python and claude-agent-sdk to 0.2.121.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| anthropicsclaude-agent-sdk-python | Affected
| Fixed in
|
PyPIclaude-agent-sdkpkg:pypi/claude-agent-sdkOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to version 0.2.121 or later, where the issue is fixed. No other mitigations are specified. Patch status is confirmed fixed in 0.2.121.
Description
CVE-2026-96620 is a critical vulnerability in the anthropics claude-agent-sdk-python prior to version 0.2.121. The issue arises from improper input validation of the resume option passed to the Claude CLI, allowing an attacker to inject CLI flags such as --mcp-config. This can lead to arbitrary command execution at CLI startup, bypassing SDK permission controls. The vulnerability is fixed in version 0.2.121.
References
- github.com/anthropics/claude-agent-sdk-python/security/advisories/GHSA-h4mw-j7qp-8mwm (opens in a new tab)
- github.com/anthropics/claude-agent-sdk-python/pull/1123 (opens in a new tab)
- github.com/anthropics/claude-agent-sdk-python/commit/347a1cb88d7652199399db1b7f914e0a459a6662 (opens in a new tab)
- github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.121 (opens in a new tab)