# CVE-2026-33068: Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-03-19T12:42:09.000Z
- Modified: 2026-06-17T10:36:53.807Z
- Also known as: GHSA-mmgp-wc2j-qcv7
- Weaknesses: CWE-807
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- anthropics claude-code: < 2.1.53
- @anthropic-ai/claude-code (npm): before 2.1.53
- anthropic claude_code: before 2.1.53

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/anthropics/claude-code/security/advisories/GHSA-mmgp-wc2j-qcv7> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33068> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2026-33068](https://www.cve.org/CVERecord?id=CVE-2026-33068), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-mmgp-wc2j-qcv7](https://github.com/advisories/GHSA-mmgp-wc2j-qcv7), CC-BY-4.0, modified 2026-03-20
- NVD: [CVE-2026-33068](https://nvd.nist.gov/vuln/detail/CVE-2026-33068), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33068 · Whole record: https://cve.day/CVE-2026-33068.json · Rebuilt by cve.day 2026-11-25T22:59:16.305Z
