CVE-2026-96620: Claude Agent SDK (Python) does not validate the resume parameter, allowing injection of --mcp-config to bypass permissions and execute commands
AI summary
NIST NVD has recorded CVE-2026-96620, noting that Anthropic's Claude Agent SDK (Python) does not validate the resume parameter, so session IDs starting with a hyphen are treated as command-line options, allowing injection of --mcp-config and execution of arbitrary commands outside permission controls. The reference links listed on the NVD page include the SDK's fix commit, PR #1123, the v0.2.121 release, and GitHub security advisory GHSA-h4mw-j7qp-8mwm.
Why it was selected
This CVE shows that a parameter validation gap in the Agent SDK can let a session ID bypass permission controls to inject MCP configuration. Teams using this SDK can use it to check their versions and calling methods.
Read original