CVE-2026-33068
published high CVSS 4.0 · 7.7Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| anthropics | — | claude-code< 2.1.53 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| anthropics | claude-code | < 2.1.53 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-807 CWE-807: Reliance on Untrusted Inputs in a Security Decision
References
1Provider assertions
2GitHub_M · cna
Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c187320b972bfab4dd18af2454b44f346e1db5082b65e3b91fa9a1b93176ea4b
- Ingested
- 23 Sep 2026, 09:10:18 UTC
- Source record
- Official CVE record