All vulnerabilities

PyPI

CVE-2026-118667

LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests

Severity
Medium 4.3
Published
28 Oct 2026
Last changed
28 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.4.6, 1.2.14
Exploit chance
0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Also known as
GHSA-3fx2-cqw9-xr3c
Sources
OSV.dev and GitHub

Description

The LangGraph Python SDK v3 streaming client interpolates caller-supplied thread_id and assistant_id values into request paths without encoding them at four synchronous and asynchronous call sites. Relative path segments can therefore redirect an authenticated GET request to another path on the same configured server.

The affected get_tree and _fetch_state implementations build request paths from raw identifiers rather than passing each identifier through the SDK's existing _quote_path_param helper. HTTP path normalization can collapse values containing relative segments before dispatch while retaining the client's authentication headers.

langgraph-sdk versions 0.4.0 through 0.4.5 are affected. The v3 stream module is not present in the 0.3.x release line.

RemoteGraph v3 streaming in langgraph 1.2.3 and later is also affected when used with a vulnerable langgraph-sdk version.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
langgraphPyPI · osv:PyPI:langgraph
  • From 1.2.3 before 1.2.14
langgraph-sdkPyPI · osv:PyPI:langgraph-sdk
  • From 0.4.0 before 0.4.6

About langgraph

Weekly downloads (PyPI)
15,256,371PyPI Stats, 23 Nov 2026

This is the only vulnerability in langgraph in our list.

About langgraph-sdk

Weekly downloads (PyPI)
14,558,329PyPI Stats, 23 Nov 2026

This is the only vulnerability in langgraph-sdk in our list.

References