Skip to content
HighVulnerabilityLLM-specific

GHSA-mmgp-wc2j-qcv7: Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File

Published
Record updated
View JSON
Affected
  • @anthropic-ai/claude-code < 2.1.53
Fixed in
2.1.53
  • released February 24, 2026, 23 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

Claude Code resolved its permission mode from settings files, including the repo-controlled `.claude/settings.json`, before showing the workspace trust confirmation dialog. A malicious repository could set `permissions.defaultMode` to `bypassPermissions` in that committed file, so the dialog was silently skipped on first open and the user was placed in a permissive mode. This made it easier for an attacker-controlled repository to gain tool execution without explicit user consent.

Mitigation

Users on standard Claude Code auto-update have already received the fix. Users performing manual updates are advised to update to the latest version.