Link Following Affecting claude-cli package, versions <2.1.251-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.32% (25th 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-MINIMOSLATEST-CLAUDECLI-22513507
  • published13 Nov 2026
  • disclosed3 Nov 2026

Introduced: 3 Nov 2026

NewCVE-2026-88968  (opens in a new tab)
CWE-59  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Minimos:latest claude-cli to version 2.1.251-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream claude-cli package and not the claude-cli package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Claude Code is an agentic coding tool. Prior to 2.1.251, the Edit tool validates a target using pathname and symlink resolution that is not bound to the underlying directory inode or file descriptor. On macOS, attacker-controlled code running in the Bash sandbox can atomically replace an in-workspace parent directory with a symlink after validation, causing the unsandboxed Edit implementation to overwrite a user-writable file outside the workspace. Exploitation requires attacker-controlled code to run inside the sandbox, such as from a malicious repository or dependency script. This issue is fixed in version 2.1.251.