{"cve":"CVE-2026-33068","nvd":{"published":"2026-03-20T09:16:15.017","modified":"2026-06-17T10:36:53.807","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":7.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-807"],"references":["https://github.com/anthropics/claude-code/security/advisories/GHSA-mmgp-wc2j-qcv7"],"products":["anthropic:claude_code"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-33068","score":0.00344,"percentile":0.27953,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mmgp-wc2j-qcv7","url":"https://osv.dev/vulnerability/GHSA-mmgp-wc2j-qcv7","summary":"Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File","modified":"2026-03-20T21:33:50.318924Z","packages":[{"ecosystem":"npm","name":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","ranges":["<2.1.53"],"fixed":["2.1.53"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}