TROYANOSYVIRUS
Back to CVEs

CVE-2026-33068

HIGH
8.8

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.

CVE Details

CVSS v3.1 Score8.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
Published3/20/2026
Last Modified3/24/2026
Sourcenvd
Honeypot Sightings0

Affected Products

anthropic:claude_code

Weaknesses (CWE)

CWE-807

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.