Skip to main content
VulnerabilityPublished

CVE-2026-33068: anthropics claude-code · Reliance on Untrusted Inputs in a Security Decision

Affects anthropics claude-codeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.7 High : upgrade to 2.1.53 soon.

Data as of 31 Oct 2026, 08:20 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.1.53
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade claude-code and anthropics/claude-code to 2.1.53.

Affected software

ProductAffectedFixed in
anthropicsclaude-codeAffected
  • <2.1.53
Fixed in
  • 2.1.53
GitHubanthropics/claude-codepkg:github/anthropics/claude-codeOther threatsAffected
  • <2.1.53
Fixed in
  • 2.1.53

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade anthropics claude-code to version 2.1.53 or later immediately to apply the patch that removes reliance on untrusted repository-controlled settings for permission decisions.
  2. Implement strict repository vetting and code review policies to prevent malicious repositories from being introduced into development workflows.
  3. Educate users about the risks of opening untrusted repositories and encourage verification of repository sources before use.
  4. Employ endpoint security solutions that monitor and restrict unauthorized code execution within development environments.
  5. Consider isolating development environments or using sandboxing techniques to limit the impact of potential malicious code execution.
  6. Monitor logs and alerts for unusual activity related to claude-code usage, especially around permission changes or unexpected executions.

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.

References

Community reviews

Loading reviews…