GHSA-3fx2-cqw9-xr3c: Path Traversal

Published Oct 28, 2026
·
Updated

Summary

The LangGraph Python SDK v3 streaming client interpolates caller-supplied threadid and assistantid 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.

Details

The affected gettree and fetchstate implementations build request paths from raw identifiers rather than passing each identifier through the SDK's existing quotepathparam 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. It passes config["configurable"]["threadid"] into threads.stream(...), and its dependency range permits affected SDK versions.

Impact

An application is affected only if it passes attacker-controlled text as a streaming threadid or assistantid. In that configuration, an attacker may select another readable path on the configured server and cause the SDK to return that response to the application. Through threadid, the attacker can also control the query string, for example by targeting /store/items?namespace=...&key=...; assistantid controls only the path. The affected requests are GET operations, so this issue does not provide a write primitive.

The LangGraph Platform is not exposed to this issue.

Remediation

Upgrade langgraph-sdk to version 0.4.6 or later. The fix encodes assistantid in gettree and threadid in fetchstate with quotepathparam in both synchronous and asynchronous stream modules.

If you use RemoteGraph, also upgrade langgraph to version 1.2.14 or later, which requires langgraph-sdk>=0.4.6.

Affected Software

2 affected componentsFixes available
pip/langgraph>=1.2.3<1.2.14
1.2.14
pip/langgraph-sdk>=0.4.0<0.4.6
0.4.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/langgraph to a version that resolves this vulnerability.

    Fixed in 1.2.14
  2. Upgrade

    Upgrade pip/langgraph-sdk to a version that resolves this vulnerability.

    Fixed in 0.4.6
  3. Upgrade

    Upgrade langgraph-sdk to a version that resolves this vulnerability.

    Fixed in 0.4.6
  4. Upgrade

    Upgrade langgraph to a version that resolves this vulnerability.

    Fixed in 1.2.14

Event History

Oct 28, 2026
Advisory Published
via GitHub·09:05 PM
Data Sourced
via GitHub·09:05 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are actually exposed?

An application is affected only if it passes attacker-controlled text as a streaming thread_id or assistant_id. The vulnerable code is in the LangGraph Python SDK v3 streaming client; the v3 stream module is not present in the 0.3.x release line.

2

What does an attacker need to exploit this?

The attacker must be able to control a thread_id or assistant_id used by the streaming client. A low-privileged caller is sufficient, and no user interaction is required; relative path segments in those values can alter the destination path of an authenticated GET request on the configured server.

3

Are RemoteGraph users affected?

RemoteGraph v3 streaming in langgraph 1.2.3 and later is affected when it uses a vulnerable langgraph-sdk version. It forwards config["configurable"]["thread_id"] to threads.stream(...), and its dependency range allows affected SDK releases.

4

Which langgraph-sdk versions should be treated as vulnerable?

langgraph-sdk versions 0.4.0 through 0.4.5 are affected. The advisory does not identify a fixed version in the provided data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203