UNIX Symbolic Link (Symlink) Following Affecting @anthropic-ai/claude-code package, versions <1.0.120


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-ANTHROPICAICLAUDECODE-13299550
  • published6 Oct 2025
  • disclosed3 Oct 2025
  • creditVinay

Introduced: 3 Oct 2025

CVE-2025-59829  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

Upgrade @anthropic-ai/claude-code to version 1.0.120 or higher.

Overview

@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the permission checking process. An attacker can gain unauthorized access to files by exploiting symlinks that bypass explicit deny rules.

References

CVSS Base Scores

version 4.0
version 3.1