Claude Code
Approved changes feed: RSS · Atom
cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*
part: a version: * update: *
| Vendor | Anthropic (3238ad0c-ea15-566c-999a-9410b8abc1cf) |
|---|---|
| Product | Claude Code (740cd242-bb82-58b0-b44f-e911e87a40ce) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | node.js |
| Target hardware | * |
| Other | * |
| Notes | Imported from gcve-enriched-dumps CVE data |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-40068 |
vulnerable | 2026-06-08 08:01:19.848725 |
Claude Code arbitrary code execution via git worktree commondir trust dialog bypass
In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree commondir file without validating its contents. An attacker could craft a malicious repository with a commondir file pointing to a path the victim had previously trusted, causing Claude Code to bypass its trust confirmation dialog and immediately execute hooks defined in `.claude/settings.json`. Exploitation requires the victim to clone the malicious repository and run Claude Code within it, and the attacker must know or guess a path the victim had already trusted. This issue has been fixed in version 2.1.84.
Published: 2026-05-05T20:52:26.089Z
Updated: 2026-05-06T15:24:52.454Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-39861 |
vulnerable | 2026-06-08 08:01:17.133287 |
Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace
Claude Code is an agentic coding tool. Prior to version 2.1.64, Claude Code's sandbox did not prevent sandboxed processes from creating symlinks pointing to locations outside the workspace. When Claude Code subsequently wrote to a path within such a symlink, its unsandboxed process followed the symlink and wrote to the target location outside the workspace without prompting the user for confirmation. This allowed a sandbox escape where neither the sandboxed command nor the unsandboxed app could independently write outside the workspace, but their combination could write to arbitrary locations, potentially leading to code execution outside the sandbox. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window to trigger sandboxed code execution via prompt injection. Users on standard Claude Code auto-update have received this fix automatically. Users performing manual updates are advised to update to version 2.1.64 or later.
Published: 2026-04-21T00:56:39.062Z
Updated: 2026-04-21T13:44:49.618Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35603 |
vulnerable | 2026-06-08 07:59:14.171547 |
Claude Code: Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on Windows
Claude Code is an agentic coding tool. In versions prior to 2.1.75 on Windows, Claude Code loaded the system-wide default configuration from C:\ProgramData\ClaudeCode\managed-settings.json without validating directory ownership or access permissions. Because the ProgramData directory is writable by non-administrative users by default and the ClaudeCode subdirectory was not pre-created or access-restricted, a low-privileged local user could create this directory and place a malicious configuration file that would be automatically loaded for any user launching Claude Code on the same machine. Exploiting this would have required a shared multi-user Windows system and a victim user to launch Claude Code after the malicious configuration was placed. This issue has been fixed on version 2.1.75.
Published: 2026-04-17T20:38:49.901Z
Updated: 2026-04-20T14:57:47.669Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35022 |
vulnerable | 2026-06-08 07:59:13.425535 |
Details available
Published: 2026-04-06T18:59:29.656Z
Updated: 2026-05-29T16:26:48.962Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35021 |
vulnerable | 2026-06-08 07:59:13.424777 |
Details available
Published: 2026-04-06T18:59:06.979Z
Updated: 2026-05-29T16:26:11.666Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-35020 |
vulnerable | 2026-06-08 07:59:13.424014 |
Details available
Published: 2026-04-06T18:58:40.513Z
Updated: 2026-05-29T16:25:15.369Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-33068 |
vulnerable | 2026-06-08 07:57:18.548504 |
Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File
Claude Code is an agentic coding tool. Versions prior to 2.1.53 resolved the permission mode from settings files, including the repo-controlled .claude/settings.json, before determining whether to display the workspace trust confirmation dialog. A malicious repository could set permissions.defaultMode to bypassPermissions in its committed .claude/settings.json, causing the trust dialog to be silently skipped on first open. This allowed a user to be placed into a permissive mode without seeing the trust confirmation prompt, making it easier for an attacker-controlled repository to gain tool execution without explicit user consent. This issue has been patched in version 2.1.53.
Published: 2026-03-20T08:17:47.794Z
Updated: 2026-03-20T13:48:36.014Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-25725 |
vulnerable | 2026-06-08 07:53:20.258447 |
Claude Code Has Sandbox Escape via Persistent Configuration Injection in settings.json
Claude Code is an agentic coding tool. Prior to version 2.1.2, Claude Code's bubblewrap sandboxing mechanism failed to properly protect the .claude/settings.json configuration file when it did not exist at startup. While the parent directory was mounted as writable and .claude/settings.local.json was explicitly protected with read-only constraints, settings.json was not protected if it was missing. This allowed malicious code running inside the sandbox to create this file and inject persistent hooks (such as SessionStart commands) that would execute with host privileges when Claude Code was restarted. This issue has been patched in version 2.1.2.
Published: 2026-02-06T17:53:42.543Z
Updated: 2026-02-06T19:15:02.998Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-25724 |
vulnerable | 2026-06-08 07:53:20.258147 |
Claude Code Has Permission Deny Bypass Through Symbolic Links
Claude Code is an agentic coding tool. Prior to version 2.1.7, Claude Code failed to strictly enforce deny rules configured in settings.json when accessing files through symbolic links. If a user explicitly denied Claude Code access to a file (such as /etc/passwd) and Claude Code had access to a symbolic link pointing to that file, it was possible for Claude Code to read the restricted file through the symlink without triggering deny rule enforcement. This issue has been patched in version 2.1.7.
Published: 2026-02-06T17:53:16.004Z
Updated: 2026-03-27T21:11:36.820Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-25723 |
vulnerable | 2026-06-08 07:53:20.257602 |
Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions
Claude Code is an agentic coding tool. Prior to version 2.0.55, Claude Code failed to properly validate commands using piped sed operations with the echo command, allowing attackers to bypass file write restrictions. This vulnerability enabled writing to sensitive directories like the .claude folder and paths outside the project scope. Exploiting this required the ability to execute commands through Claude Code with the "accept edits" feature enabled. This issue has been patched in version 2.0.55.
Published: 2026-02-06T17:52:59.028Z
Updated: 2026-02-06T18:40:54.158Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-25722 |
vulnerable | 2026-06-08 07:53:20.257120 |
Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write Protection
Claude Code is an agentic coding tool. Prior to version 2.0.57, Claude Code failed to properly validate directory changes when combined with write operations to protected folders. By using the cd command to navigate into sensitive directories like .claude, it was possible to bypass write protection and create or modify files without user confirmation. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.57.
Published: 2026-02-06T17:52:42.069Z
Updated: 2026-02-06T18:42:01.040Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-24887 |
vulnerable | 2026-06-08 07:53:18.629381 |
Claude Code has a Command Injection in find Command Bypasses User Approval Prompt
Claude Code is an agentic coding tool. Prior to version 2.0.72, due to an error in command parsing, it was possible to bypass the Claude Code confirmation prompt to trigger execution of untrusted commands through the find command. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.72.
Published: 2026-02-03T20:50:25.263Z
Updated: 2026-02-03T21:19:42.986Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-24053 |
vulnerable | 2026-06-08 07:51:16.628329 |
Cluade Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes
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.
Published: 2026-02-03T20:49:59.261Z
Updated: 2026-02-03T21:22:27.265Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-24052 |
vulnerable | 2026-06-08 07:51:16.627821 |
Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled Domains
Claude Code is an agentic coding tool. Prior to version 1.0.111, Claude Code contained insufficient URL validation in its trusted domain verification mechanism for WebFetch requests. The application used a startsWith() function to validate trusted domains (e.g., docs.python.org, modelcontextprotocol.io), this could have enabled attackers to register domains like modelcontextprotocol.io.example.com that would pass validation. This could enable automatic requests to attacker-controlled domains without user consent, potentially leading to data exfiltration. This issue has been patched in version 1.0.111.
Published: 2026-02-03T20:49:41.997Z
Updated: 2026-02-04T20:00:11.786Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-21852 |
vulnerable | 2026-06-08 07:49:16.837782 |
Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation
Claude Code is an agentic coding tool. Prior to version 2.0.65, vulnerability in Claude Code's project-load flow allowed malicious repositories to exfiltrate data including Anthropic API keys before users confirmed trust. An attacker-controlled repository could include a settings file that sets ANTHROPIC_BASE_URL to an attacker-controlled endpoint and when the repository was opened, Claude Code would read the configuration and immediately issue API requests before showing the trust prompt, potentially leaking the user's API keys. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to version 2.0.65, which contains a patch, or to the latest version.
Published: 2026-01-21T20:42:06.812Z
Updated: 2026-01-21T21:34:43.858Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-66032 |
vulnerable | 2026-06-08 07:39:21.142919 |
Claude Code Command Validation Bypass Allows Arbitrary Code Execution
Claude Code is an agentic coding tool. Prior to 1.0.93, Due to errors in parsing shell commands related to $IFS and short CLI flags, it was possible to bypass the Claude Code read-only validation and trigger arbitrary code execution. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. This vulnerability is fixed in 1.0.93.
Published: 2025-12-03T18:16:54.335Z
Updated: 2025-12-03T19:11:39.067Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-65099 |
vulnerable | 2026-06-08 07:39:20.707994 |
Claude Code vulnerable to command execution prior to startup trust dialog
Claude Code is an agentic coding tool. Prior to version 1.0.39, when running on a machine with Yarn 3.0 or above, Claude Code could have been tricked to execute code contained in a project via yarn plugins before the user accepted the startup trust dialog. Exploiting this would have required a user to start Claude Code in an untrusted directory and to be using Yarn 3.0 or above. This issue has been patched in version 1.0.39.
Published: 2025-11-19T17:35:17.349Z
Updated: 2025-11-20T14:20:44.499Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-64755 |
vulnerable | 2026-06-08 07:39:20.252820 |
@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes
Claude Code is an agentic coding tool. Prior to version 2.0.31, due to an error in sed command parsing, it was possible to bypass the Claude Code read-only validation and write to arbitrary files on the host system. This issue has been patched in version 2.0.31.
Published: 2025-11-21T01:13:05.579Z
Updated: 2025-11-24T18:13:06.459Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-59829 |
vulnerable | 2026-06-08 07:35:23.279611 |
Claude Code: Permission deny bypass is possible through symlink
Claude Code is an agentic coding tool. Versions below 1.0.120 failed to account for symlinks when checking permission deny rules. If a user explicitly denied Claude Code access to a file and Claude Code had access to a symlink pointing to that file, it was possible for Claude Code to access the file. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version. This issue is fixed in version 1.0.120.
Published: 2025-10-03T20:03:02.999Z
Updated: 2025-10-03T20:45:39.617Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-59828 |
vulnerable | 2026-06-08 07:35:23.279285 |
Claude Code Vulnerable to Arbitrary Code Execution via Plugin Autoloading with Specific Yarn Versions
Claude Code is an agentic coding tool. Prior to Claude Code version 1.0.39, when using Claude Code with Yarn versions 2.0+, Yarn plugins are auto-executed when running yarn --version. This could lead to a bypass of the directory trust dialog in Claude Code, as plugins would be executed prior to the user accepting the risks of working in an untrusted directory. Users running Yarn Classic were unaffected by this issue. This issue has been fixed in version 1.0.39. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version.
Published: 2025-09-24T19:30:09.297Z
Updated: 2025-09-24T19:49:14.654Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-59536 |
vulnerable | 2026-06-08 07:35:22.312196 |
Claude Code's startup trust dialog could lead to Command Execution attack
Claude Code is an agentic coding tool. Versions before 1.0.111 were vulnerable to Code Injection due to a bug in the startup trust dialog implementation. Claude Code could be tricked to execute code contained in a project before the user accepted the startup trust dialog. Exploiting this requires a user to start Claude Code in an untrusted directory. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version. This issue is fixed in version 1.0.111.
Published: 2025-10-03T06:34:48.398Z
Updated: 2025-10-03T13:26:23.309Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-59041 |
vulnerable | 2026-06-08 07:35:19.930158 |
Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email
Claude Code is an agentic coding tool. At startup, Claude Code executed a command templated in with `git config user.email`. Prior to version 1.0.105, a maliciously configured user email in git could be used to trigger arbitrary code execution before a user accepted the workspace trust dialog. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to version 1.0.105 or the latest version.
Published: 2025-09-10T15:07:50.396Z
Updated: 2025-10-15T16:00:49.872Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-58764 |
vulnerable | 2026-06-08 07:35:19.508194 |
Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution
Claude Code is an agentic coding tool. Due to an error in command parsing, versions prior to 1.0.105 were vulnerable to a bypass of the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to version 1.0.105 or the latest version.
Published: 2025-09-10T15:06:30.163Z
Updated: 2025-09-11T14:43:27.411Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-55284 |
vulnerable | 2026-06-08 07:33:14.560102 |
Claude Code's Permissive Default Allowlist Enables Unauthorized File Read and Network Exfiltration in Claude Code
Claude Code is an agentic coding tool. Prior to version 1.0.4, it's possible to bypass the Claude Code confirmation prompts to read a file and then send file contents over the network without user confirmation due to an overly broad allowlist of safe commands. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. Users on standard Claude Code auto-update received this fix automatically after release. Current users of Claude Code are unaffected, as versions prior to 1.0.24 are deprecated and have been forced to update.
Published: 2025-08-16T01:27:29.134Z
Updated: 2025-08-18T14:00:40.976Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-54795 |
vulnerable | 2026-06-08 07:33:13.228970 |
Claude Code echo command allowed bypass of user approval prompt for command execution
Claude Code is an agentic coding tool. In versions below 1.0.20, an error in command parsing makes it possible to bypass the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. This is fixed in version 1.0.20.
Published: 2025-08-05T00:07:29.465Z
Updated: 2025-08-05T14:21:47.500Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-54794 |
vulnerable | 2026-06-08 07:33:13.228351 |
Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access
Claude Code is an agentic coding tool. In versions below 0.2.111, a path validation flaw using prefix matching instead of canonical path comparison, makes it possible to bypass directory restrictions and access files outside the CWD. Successful exploitation depends on the presence of (or ability to create) a directory with the same prefix as the CWD and the ability to add untrusted content into a Claude Code context window. This is fixed in version 0.2.111.
Published: 2025-08-05T00:08:13.864Z
Updated: 2025-08-05T14:17:31.870Z |
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.