Symlink Attack Affecting langchain-anthropic package, versions [,1.4.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (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 Learn

Learn about Symlink Attack vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LANGCHAINANTHROPIC-17356216
  • published17 Jun 2026
  • disclosed16 Jun 2026
  • creditHussein Aldulaimi, deprrous

Introduced: 16 Jun 2026

CVE-2026-55443  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade langchain-anthropic to version 1.4.6 or higher.

Overview

langchain-anthropic is an Integration package connecting Claude (Anthropic) APIs and LangChain

Affected versions of this package are vulnerable to Symlink Attack via the file-search middleware and loaders that resolve filesystem paths and search patterns without confining the resolved path to the intended root directory. An attacker can access files outside the intended directory boundary by supplying crafted path values, glob patterns, or symlinks influenced by untrusted sources.

CVSS Base Scores

version 4.0
version 3.1