Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Affecting langgraph-sdk package, versions [,0.3.15)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (13th 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 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LANGGRAPHSDK-17372912
  • published18 Jun 2026
  • disclosed17 Jun 2026
  • creditpucagit

Introduced: 17 Jun 2026

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

How to fix?

Upgrade langgraph-sdk to version 0.3.15 or higher.

Overview

langgraph-sdk is a SDK for interacting with LangGraph API

Affected versions of this package are vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in the construction of HTTP request paths using unsanitized identifier values. An attacker can gain unauthorized access to, modify, or delete resources outside their intended authorization scope by supplying specially crafted identifier values that manipulate the resulting URL path.

CVSS Base Scores

version 4.0
version 3.1