1. Accueil
  2. Vulnérabilités
  3. CVE-2026-88968

CVE-2026-88968

Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace

Publiée le 3 nov. 2026 · modifiée le 3 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 43/100

Résumé

Claude Code is an agentic coding tool. Prior to 2.1.251, the Edit tool validates a target using pathname and symlink resolution that is not bound to the underlying directory inode or file descriptor. On macOS, attacker-controlled code running in the Bash sandbox can atomically replace an in-workspace parent directory with a symlink after validation, causing the unsandboxed Edit implementation to overwrite a user-writable file outside the workspace. Exploitation requires attacker-controlled code to run inside the sandbox, such as from a malicious repository or dependency script. This issue is fixed in version 2.1.251.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

anthropics (1 ligne(s))
anthropics
ProduitVersionsCorrigé dansSource
claude-code Versions non précisées — CNA (éditeur ou attributeur)
npm (1 ligne(s))
npm
ProduitVersionsCorrigé dansSource
@anthropic-ai/claude-code avant 2.1.251 (exclu) 2.1.251 GitHub Advisory

Correctif

Mise à jour — npm/@anthropic-ai/claude-code 2.1.251source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

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:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-59 · Autre (CWE-59)

Comment sont obtenues et calculées ces données