- Accueil
- Vulnérabilités
- CVE-2026-96620
CVE-2026-96620
Claude Agent SDK: Argument Injection via resume Option Allows Arbitrary Command Execution
Moyen
54/100
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
anthropics (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| claude-agent-sdk-python | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| claude-agent-sdk | avant 0.2.121 (exclu) |
0.2.121 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/claude-agent-sdk 0.2.121source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-h4mw-j7qp-8mwm — Claude Agent SDK: Argument Injection via resume Option Allows Arbitrary Command Execution 16 oct. 2026
Références
- https://github.com/anthropics/claude-agent-sdk-python/security/advisories/GHSA-h4mw-j7qp-8mwmx_refsource_CONFIRM
- https://github.com/anthropics/claude-agent-sdk-python/pull/1123x_refsource_MISC
- https://github.com/anthropics/claude-agent-sdk-python/commit/347a1cb88d7652199399db1b7f914e0a459a6662x_refsource_MISC
- https://github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.121x_refsource_MISC
- https://github.com/anthropics/claude-agent-sdk-pythonPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
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(CVSS 4.0, CNA:GitHub_M)- Faiblesse
- CWE-20 · Validation d'entrée (générique)