{"id":"CVE-2026-33068","published":"2026-03-20T08:17:47Z","modified":"2026-03-20T13:48:36Z","title":"Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File","vendor":"anthropics","product":"claude-code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00398,"percentile":0.34873,"provenance":"source"},"cwes":[{"id":"CWE-807","name":"Reliance on Untrusted Inputs in a Security Decision"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-mmgp-wc2j-qcv7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.97},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"claude-code","versions":["< 2.1.53"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-20T13:48:28.263574Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","vulnerableRanges":["<2.1.53"],"patched":["2.1.53"],"from":["GHSA-mmgp-wc2j-qcv7"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-13631","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-24053","published":"2026-02-03","fixed":"2.0.74","kev":false},{"cve":"CVE-2026-25725","published":"2026-02-06","fixed":"2.1.2","kev":false},{"cve":"CVE-2026-25724","published":"2026-02-06","fixed":"2.1.7","kev":false,"link":{"from":"CVE-2026-25724","to":"CVE-2026-33068","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"2.1.7","toFixed":"2.1.53","daysApart":42}]}},{"cve":"CVE-2026-33068","published":"2026-03-20","fixed":"2.1.53","kev":false},{"cve":"CVE-2026-39861","published":"2026-04-21","fixed":"2.1.64","kev":false,"link":{"from":"CVE-2026-33068","to":"CVE-2026-39861","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"2.1.53","toFixed":"2.1.64","daysApart":32}]}},{"cve":"CVE-2026-35603","published":"2026-04-17","fixed":"2.1.75","kev":false},{"cve":"CVE-2026-40068","published":"2026-05-05","fixed":"2.1.84","kev":false}],"package":"npm:@anthropic-ai/claude-code"}}