Claude Agent SDK: Argument Injection via resume Option Allows Arbitrary Command Execution
What to do
- Upgrade to a fixed version: claude-agent-sdk 0.2.121.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
claude-agent-sdk
- < 0.2.121
- 0.2.121
Check your project: pip show claude-agent-sdk
What changed
Published in the GitHub Advisory Database as critical.