Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The claude-agent-sdk package for Python is vulnerable in versions before 0.2.121. The SDK passed the resume option to the Claude CLI without validation, so a value starting with a dash could be read as a separate CLI flag. An attacker who controls the resume value in an application that passes untrusted input as a session ID could run arbitrary commands, bypassing the SDK's permission controls. Upgrade to version 0.2.121 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.2 | Critical | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0070, the 53rd percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-h4mw-j7qp-8mwm
- OSV: GHSA-h4mw-j7qp-8mwm
- github.com/anthropics/claude-agent-sdk-python/security/advisories/GHSA-h4mw-j7qp-8mwm
- github.com/anthropics/claude-agent-sdk-python/pull/1123
- github.com/anthropics/claude-agent-sdk-python/commit/347a1cb88d7652199399db1b7f914e0a459a6662
- github.com/anthropics/claude-agent-sdk-python
- github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.121