CVE-2026-33068
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.
Weakness
- CWE-807: Reliance on Untrusted Inputs in a Security Decision
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-03-20 |
Timeline
- 2026-03-19GitHub advisory published (GHSA-mmgp-wc2j-qcv7)1 day before publication
- 2026-03-20Published by the CNA08:17 UTC
- 2026-03-20CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-mmgp-wc2j-qcv7, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @anthropic-ai/claude-code | before 2.1.53 | 2.1.53 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| anthropic claude_code | before 2.1.53fixed in 2.1.53 | 2.1.53 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-33068'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-33068'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-33068'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-33068'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).