Security advisory2026-10-16claude-agent-sdk projectSecurity advisory

claude-agent-sdk issue could allow unintended commands to run

The Claude Agent SDK for Python passed the resume option to the Claude CLI without validation, allowing a value beginning with - to be interpreted as a separate CLI flag.

What happened

  • Claude Agent SDK: Argument Injection via resume Option Allows Arbitrary Command ExecutionSecurity Advisory GHSA-h4mw-j7qp-8mwm

Contributing factors stated by the source

  • The Claude Agent SDK for Python passed the resume option to the Claude CLI without validation, allowing a value beginning with - to be interpreted as a separate CLI flag.

The failure pattern

Watch the pattern: Indirect prompt injection changes agent behavior

Related standards

CollectSEA's mapping through this incident's failure pattern; not an official determination by the standards bodies.

Building something similar?

Describe your design and see every precedent that applies, with safeguards you can hand to your coding agent.

Analyze your design
Security advisory2026-10-16AI system

Software component issue could allow unintended commands to run

The The Slim SEO – AI SEO Plugin, Lightweight, Fast & Automated plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 4.11.1 This is due to the software allowing users…

Indirect prompt injection changes agent behaviornvd.nist.gov