Claude Agent SDK 是用于 Claude Code 的 Python 软件开发工具包。在 0.2.121 版本之前,恢复(resume)选项会未经校验地以独立令牌形式传递给 Claude CLI,导致以连字符(dash)开头的值被解析为独立的 CLI 标志。攻击者可借此注入 标志来定义一个标准输入/输出(stdio)MCP 服务器,从而在 CLI 启动时绕过 SDK 的权限控制,实现任意命令执行。当应用程序将不可信输入作为会话 ID(session ID)用于恢复操作时,该漏洞即可被利用。此问题已在
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| anthropics | claude-agent-sdk-python | < 0.2.121 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| anthropics | claude-agent-sdk-python | < 0.2.121 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet