Vulnerability · Published Jun 16, 2026 · Assigned by GitHub_M

CVE-2026-48776LangGraph SDK has unsafe URL path construction

Medium 4.2

In plain English

A medium-severity path traversal in langchain-ai from langchain-ai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.2Medium
Exploit odds (30 days)0.2%top 87.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. Versions 0.3.14 and prior have unsafe URL path construction through unsanitized caller-supplied identifier values used in HTTP request paths for resource operations. Without sanitization of those values, identifiers that contain characters with special meaning in URL paths could cause the resulting request to address a different resource (and potentially a different resource type) than the SDK method's call site indicates. In deployments where the SDK receives identifier values that originate from untrusted sources, this could result in unintended access, modification, or deletion of resources beyond the calling user's authorization scope. This issue is most consequential in deployments that forward end-user-supplied values directly into SDK identifier parameters without first validating them against an expected format (such as a UUID), and rely on URL-prefix-based authorization at an upstream layer (reverse proxy, edge gateway, WAF), where the authorization decision is made on the SDK call's intended path rather than on the final delivered request path. The issue has been fixed in version 0.3.15.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlanggraph0.3.15PYSEC-2026-2194
PyPIlanggraph-sdk0.3.15GHSA-w39p-vh2g-g8g5
PyPIlanggraph-sdk0.3.15PYSEC-2026-2575

Affected products (as reported)

VendorProductVersions
langchain-ai langchain-ai < 1.2.1
langchain-ai langchain-sdk < 0.3.15

Weakness: CWE-22, CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

References