Missing Authorization Affecting @anthropic-ai/claude-code package, versions <1.0.39


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (21st 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-13109605
  • published28 Sept 2025
  • disclosed24 Sept 2025
  • creditCaio Duque

Introduced: 24 Sep 2025

CVE-2025-59828  (opens in a new tab)
CWE-829  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade @anthropic-ai/claude-code to version 1.0.39 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 Missing Authorization via the plugin autoloading process. An attacker can execute arbitrary code by leveraging the automatic execution of Yarn plugins before the user accepts the risks associated with an untrusted directory. This is only exploitable if Yarn versions 2.0+ are used, as Yarn Classic is not affected.

References

CVSS Base Scores

version 4.0
version 3.1