Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-46406: Claude Code is an agentic coding tool

22
Routine
MEDIUM 6.1UPGRADE

CVE-2026-46406 is a medium-severity flaw (CVSS 6.1) affecting claude code. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Claude Code is an agentic coding tool. From 2.1.59 until 2.1.128, the Claude Code /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/response.md) without UID isolation, randomness, or symlink protection. The file was created world-readable (0644) in a world-traversable directory (0755), allowing any local user to read a privileged user's Claude response, which could contain secrets or credentials. Additionally, because t

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionRequired
EPSS exploit chance0.2% (top 96%)
CISA exploited listNo
WeaknessCWE-59, CWE-200, CWE-377
Published2026-06-29
Last modified2026-10-25
Publisher (CNA): GitHub, Inc. · Vendor: anthropic

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

anthropic claude code UPGRADE
Affected: >= 2.1.58 and < 2.1.128
Fixed in: 2.1.128
Safe to downgrade to: a release before 2.1.58
1. Check installed version
npm ls claude-code
2. UPGRADE to 2.1.128
npm install claude-code@">=2.1.128"
3. If no update is available yet, DOWNGRADE to a release before 2.1.58
npm view claude-code versions npm install claude-code@"<2.1.58"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-46406?

claude code: upgrade to 2.1.128. Exact commands for each OS are on this page.

Is CVE-2026-46406 being exploited?

CVE-2026-46406 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-46406 affect?

CVE-2026-46406 affects claude code. Severity is medium (CVSS 6.1). Claude Code is an agentic coding tool. From 2.1.59 until 2.1.128, the Claude Code /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/response.md) without UID isolation, randomness, or symlink protection. The file w

How urgent is CVE-2026-46406?

Priority 22/100. No elevated risk signals yet.

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.