{"id":"CVE-2026-118667","aliases":["EUVD-2026-112474","GHSA-3fx2-cqw9-xr3c"],"status":"published","title":"LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests","description":"LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From langgraph-sdk 0.4.0 until 0.4.6, and from langgraph 1.2.3 until 1.2.14 when RemoteGraph v3 streaming uses an affected langgraph-sdk version, the synchronous and asynchronous v3 stream get_tree and _fetch_state helpers interpolate caller-controlled assistant_id and thread_id values into authenticated GET request paths without using _quote_path_param. Relative path segments can therefore be normalized into another readable path on the configured server while retaining authentication headers. This issue is fixed in langgraph-sdk 0.4.6 and langgraph 1.2.14.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00394,"percentile":0.34087,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2026-10-28T20:51:46Z","modified":"2026-10-31T02:30:36Z","fixes":[{"ecosystem":"PyPI","package":"langgraph-sdk","fixed_in":["0.4.6"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"langgraph","fixed_in":["1.2.14"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"langgraph-sdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"0.4.6"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"langgraph","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.3"},{"fixed":"1.2.14"}]}]},{"source":"osv","ecosystem":"PyPI","package":"langgraph-sdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"0.4.6"}]}],"versions":["0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5"]},{"source":"osv","ecosystem":"PyPI","package":"langgraph","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.3"},{"fixed":"1.2.14"}]}],"versions":["1.2.10","1.2.11","1.2.12","1.2.13","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9"]}],"products":[{"vendor":"langchain-ai","product":"langgraph"},{"vendor":"langchain-ai","product":"langgraph-sdk"}],"references":[{"url":"https://github.com/langchain-ai/langgraph/security/advisories/GHSA-3fx2-cqw9-xr3c","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/langchain-ai/langgraph/pull/9213","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/langchain-ai/langgraph/commit/d89c7e100ec6fc1512544d23b0a7c5169699ef3e","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/langchain-ai/langgraph/releases/tag/1.2.14","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/langchain-ai/langgraph/releases/tag/sdk%3D%3D0.4.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/advisories/GHSA-3fx2-cqw9-xr3c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118667.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118667","tags":["advisory"]},{"url":"https://github.com/langchain-ai/langgraph","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-118667","title":"LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests","description":"LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From langgraph-sdk 0.4.0 until 0.4.6, and from langgraph 1.2.3 until 1.2.14 when RemoteGraph v3 streaming uses an affected langgraph-sdk version, the synchronous and asynchronous v3 stream get_tree and _fetch_state helpers interpolate caller-controlled assistant_id and thread_id values into authenticated GET request paths without using _quote_path_param. Relative path segments can therefore be normalized into another readable path on the configured server while retaining authentication headers. This issue is fixed in langgraph-sdk 0.4.6 and langgraph 1.2.14.","status":"published","published":"2026-10-28T20:51:46.657Z","modified":"2026-10-29T18:26:03.178Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:20:04.156238Z"}],"euvd":[{"id":"EUVD-2026-112474","description":"LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From langgraph-sdk 0.4.0 until 0.4.6, and from langgraph 1.2.3 until 1.2.14 when RemoteGraph v3 streaming uses an affected langgraph-sdk version, the synchronous and asynchronous v3 stream get_tree and _fetch_state helpers interpolate caller-controlled assistant_id and thread_id values into authenticated GET request paths without using _quote_path_param. Relative path segments can therefore be normalized into another readable path on the configured server while retaining authentication headers. This issue is fixed in langgraph-sdk 0.4.6 and langgraph 1.2.14.","status":"published","published":"2026-10-28T20:51:46Z","modified":"2026-10-29T18:26:03Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:59:15.391097Z"}],"ghsa":[{"id":"GHSA-3fx2-cqw9-xr3c","title":"LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests","description":"### Summary\n\nThe 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.\n\n### Details\n\nThe 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.\n\n`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.\n\n`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\"][\"thread_id\"]` into `threads.stream(...)`, and its dependency range permits affected SDK versions.\n\n### Impact\n\nAn application is affected only if it passes attacker-controlled text as a streaming `thread_id` or `assistant_id`. 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 `thread_id`, the attacker can also control the query string, for example by targeting `/store/items?namespace=...\u0026key=...`; `assistant_id` controls only the path. The affected requests are GET operations, so this issue does not provide a write primitive.\n\nThe LangGraph Platform is not exposed to this issue.\n\n### Remediation\n\nUpgrade `langgraph-sdk` to version 0.4.6 or later. The fix encodes `assistant_id` in `get_tree` and `thread_id` in `_fetch_state` with `_quote_path_param` in both synchronous and asynchronous stream modules.\n\nIf you use `RemoteGraph`, also upgrade `langgraph` to version 1.2.14 or later, which requires `langgraph-sdk\u003e=0.4.6`.","status":"published","published":"2026-10-28T21:05:47Z","modified":"2026-10-28T21:05:48Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:41:39.926569Z"}],"nvd":[{"id":"CVE-2026-118667","description":"LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From langgraph-sdk 0.4.0 until 0.4.6, and from langgraph 1.2.3 until 1.2.14 when RemoteGraph v3 streaming uses an affected langgraph-sdk version, the synchronous and asynchronous v3 stream get_tree and _fetch_state helpers interpolate caller-controlled assistant_id and thread_id values into authenticated GET request paths without using _quote_path_param. Relative path segments can therefore be normalized into another readable path on the configured server while retaining authentication headers. This issue is fixed in langgraph-sdk 0.4.6 and langgraph 1.2.14.","status":"published","published":"2026-10-28T21:16:57.113Z","modified":"2026-10-29T19:17:19.443Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:13:04.6346Z"}],"osv":[{"id":"CVE-2026-118667","title":"LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests","description":"LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From langgraph-sdk 0.4.0 until 0.4.6, and from langgraph 1.2.3 until 1.2.14 when RemoteGraph v3 streaming uses an affected langgraph-sdk version, the synchronous and asynchronous v3 stream get_tree and _fetch_state helpers interpolate caller-controlled assistant_id and thread_id values into authenticated GET request paths without using _quote_path_param. Relative path segments can therefore be normalized into another readable path on the configured server while retaining authentication headers. This issue is fixed in langgraph-sdk 0.4.6 and langgraph 1.2.14.","status":"published","published":"2026-10-28T20:51:46.657Z","modified":"2026-10-31T02:30:36.460797697Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:57.008854Z"},{"id":"GHSA-3fx2-cqw9-xr3c","title":"LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests","description":"### Summary\n\nThe 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.\n\n### Details\n\nThe 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.\n\n`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.\n\n`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\"][\"thread_id\"]` into `threads.stream(...)`, and its dependency range permits affected SDK versions.\n\n### Impact\n\nAn application is affected only if it passes attacker-controlled text as a streaming `thread_id` or `assistant_id`. 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 `thread_id`, the attacker can also control the query string, for example by targeting `/store/items?namespace=...\u0026key=...`; `assistant_id` controls only the path. The affected requests are GET operations, so this issue does not provide a write primitive.\n\nThe LangGraph Platform is not exposed to this issue.\n\n### Remediation\n\nUpgrade `langgraph-sdk` to version 0.4.6 or later. The fix encodes `assistant_id` in `get_tree` and `thread_id` in `_fetch_state` with `_quote_path_param` in both synchronous and asynchronous stream modules.\n\nIf you use `RemoteGraph`, also upgrade `langgraph` to version 1.2.14 or later, which requires `langgraph-sdk\u003e=0.4.6`.","status":"published","published":"2026-10-28T21:05:47Z","modified":"2026-10-28T21:15:05.147749489Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:35.747385Z"}]}}
