CVE-2026-24053

Claude Code is an agentic coding tool. Prior to version 2.0.74, due to a Bash command validation flaw in parsing ZSH clobber syntax, it was possible to bypass directory restrictions and write files outside the current working directory without user permission prompts. Exploiting this required the user to use ZSH and the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.74.
Configurations

Configuration 1 (hide)

cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*

History

17 Jun 2026, 10:22

Type Values Removed Values Added
Summary
  • (es) Claude Code es una herramienta de codificación agéntica. Antes de la versión 2.0.74, debido a una falla de validación de comandos Bash al analizar la sintaxis de sobrescritura de ZSH, era posible eludir las restricciones de directorio y escribir archivos fuera del directorio de trabajo actual sin avisos de permiso del usuario. Explotar esto requería que el usuario utilizara ZSH y la capacidad de añadir contenido no confiable en una ventana de contexto de Claude Code. Este problema ha sido parcheado en la versión 2.0.74.

06 Feb 2026, 20:24

Type Values Removed Values Added
First Time Anthropic
Anthropic claude Code
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
References () https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49r - () https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49r - Vendor Advisory
CPE cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*

03 Feb 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-03 21:16

Updated : 2026-06-17 10:22


NVD link : CVE-2026-24053

Mitre link : CVE-2026-24053

CVE.ORG link : CVE-2026-24053


JSON object : View

Products Affected

anthropic

  • claude_code
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')