← Übersicht Nicht im beobachteten Stack

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

CVE-2026-88968 · GHSA-5xjx-9qx6-jcrv

Hoch · CVSS 7.7 Red Hat: Important Netzwerk · ohne Login · Nutzerinteraktion Kein Fix bekannt

Veröffentlicht
03.11.2026 21:08
Zuletzt geändert
10.11.2026
EPSS (30 Tage)
0.3 %
CVSS-Vektor
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

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 1 betroffen.

Red Hat OpenShift Dev Spaces BetroffenFix ausstehend devspaces/pluginregistry-rhel9
Weitere betroffene Pakete (2)
CVEanthropics/claude-codekein Fix bekanntCVE-2026-88968
npm@anthropic-ai/claude-code2.1.251GHSA-5xjx-9qx6-jcrv

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.