{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-96620","published":"2026-10-16T20:18:28.293000Z","last_modified":"2026-10-21T22:16:50.597000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-20","CWE-78","CWE-88"],"cpes":[],"cpes_truncated":false,"vendors":["anthropics"],"products":["anthropics/claude-agent-sdk-python"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h4mw-j7qp-8mwm","ecosystem":"PyPI","name":"claude-agent-sdk","purl":"pkg:pypi/claude-agent-sdk","ranges":[{"introduced":"0","fixed":"0.2.121"}],"versions":["0.0.23","0.1.0","0.1.1","0.1.10","0.1.18","0.1.19","0.1.2","0.1.20","0.1.21","0.1.22","0.1.23","0.1.25","0.1.26","0.1.27","0.1.29","0.1.3","0.1.30","0.1.31","0.1.33","0.1.34","0.1.35","0.1.36","0.1.37","0.1.38","0.1.39","0.1.4","0.1.41","0.1.43","0.1.44","0.1.45","0.1.46","0.1.47","0.1.48","0.1.49","0.1.5","0.1.50","0.1.51","0.1.52","0.1.53","0.1.54","0.1.55","0.1.56","0.1.58","0.1.59","0.1.6","0.1.60","0.1.61","0.1.62","0.1.63","0.1.64","0.1.65","0.1.66","0.1.68","0.1.69","0.1.7","0.1.70","0.1.71","0.1.72","0.1.73","0.1.74","0.1.75","0.1.76","0.1.77","0.1.78","0.1.8","0.1.80","0.1.81","0.1.9","0.2.100","0.2.101","0.2.102","0.2.103","0.2.104","0.2.105","0.2.106","0.2.107","0.2.108","0.2.109","0.2.110","0.2.111","0.2.112","0.2.113","0.2.114","0.2.115","0.2.116","0.2.117","0.2.118","0.2.119","0.2.120","0.2.82","0.2.83","0.2.84","0.2.85","0.2.86","0.2.87","0.2.88","0.2.89","0.2.90","0.2.91","0.2.93","0.2.94","0.2.95","0.2.96","0.2.97","0.2.99"],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-96620/","html_en":"/en/cve/CVE-2026-96620/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-96620","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-96620"},"untrusted":{"vendor_name":"anthropics","product_name":"claude-agent-sdk-python","desc_en":"Claude Agent SDK is a Python SDK for Claude Code. Prior to 0.2.121, the resume option is passed to the Claude CLI as a separate token without validation, so a dash-leading value is parsed as an independent CLI flag. An attacker can inject the --mcp-config flag to define a stdio MCP server, causing arbitrary command execution at CLI startup outside the SDK permission controls. The issue is exploitable when an application passes untrusted input as the session ID to resume. This issue is fixed in version 0.2.121.","affected":[{"untrusted_vendor":"anthropics","untrusted_product":"claude-agent-sdk-python","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"54361656ef8f2e436eb3e3b7dc4d3ff9","generated":"2026-11-26T23:30:12.490176Z","es":{"untrusted_title":"Inyección de comandos en Claude Agent SDK Python por validación insuficiente de…","untrusted_summary":"Claude Agent SDK Python anterior a la versión 0.2.121 no valida correctamente el parámetro de reanudación de sesión, permitiendo que un atacante inyecte flags de CLI como --mcp-config. Esto permite la ejecución arbitraria de comandos al iniciar la CLI, fuera de los controles de permisos del SDK, cuando la aplicación pasa entrada no confiable como ID de sesión."},"en":{"untrusted_title":"Command Injection in Claude Agent SDK Python via Insufficient Parameter Validat…","untrusted_summary":"Claude Agent SDK Python prior to version 0.2.121 fails to properly validate the session resume parameter, allowing an attacker to inject CLI flags such as --mcp-config. This enables arbitrary command execution at CLI startup outside SDK permission controls when the application passes untrusted input as a session ID."},"remediation":{"status":"fix","fixed_versions":["0.2.121"],"untrusted_action_es":"Actualiza claude-agent-sdk a la versión 0.2.121 o superior.","untrusted_action_en":"Update claude-agent-sdk to version 0.2.121 or later.","vendor_url":"https://github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.121"},"reviewed":false},"references":[{"url":"https://github.com/anthropics/claude-agent-sdk-python/commit/347a1cb88d7652199399db1b7f914e0a459a6662","tags":[]},{"url":"https://github.com/anthropics/claude-agent-sdk-python/pull/1123","tags":[]},{"url":"https://github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.121","tags":[]},{"url":"https://github.com/anthropics/claude-agent-sdk-python/security/advisories/GHSA-h4mw-j7qp-8mwm","tags":[]}]},"social":{"people":1,"posts":2,"window_days":30}}