CVE-2026-33068 in Anthropic Claude Code
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 bypassPermi...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Anthropic | Claude Code | < 2.1.53 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-33068 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-150872-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2026-03-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-807: CWE-807
Analysis AI-written, not human-reviewed
CVE-2026-33068 affects Claude Code versions prior to 2.1.53, allowing a malicious repository to bypass the workspace trust confirmation dialog by setting a specific permission mode in the .claude/settings.json file.
An attacker can create or modify a .claude/settings.json file in a repository to set the permissions.defaultMode to bypassPermissions. This configuration change will prevent the display of the workspace trust confirmation dialog, potentially leading to unauthorized access or actions within the Claude Code environment.
Questions
What is CVE-2026-33068?
CVE-2026-33068 affects Claude Code versions prior to 2.1.53, allowing a malicious repository to bypass the workspace trust confirmation dialog by setting a specific permission mode in the .claude/settings.json file.
What is the CVSS score for CVE-2026-33068?
CVE-2026-33068 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.7%.
Is CVE-2026-33068 actively exploited?
No confirmed active exploitation of CVE-2026-33068 as of 2026-09-25.
How do I remediate CVE-2026-33068?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-33068?
CVE-2026-33068 affects Anthropic Claude Code.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Anthropic","product":"Claude Code","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.