LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests
CVE-2026-118667 · GHSA-3fx2-cqw9-xr3c · published 2026-10-28
- Severity
- Medium
- CVSS score
- 4.3
- Chance of exploitation (EPSS)
- 0.39%
- Fixed in
- 0.4.6
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
An 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=...&key=...; assistant_id 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.
Upgrade langgraph-sdk to 0.4.6 or later, and langgraph to 1.2.14 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Upgrade 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. If you use RemoteGraph, also upgrade langgraph to version 1.2.14 or later, which requires langgraph-sdk>=0.4.6.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langgraph-sdk | PyPI | >= 0.4.0, < 0.4.6 | 0.4.6 |
| langgraph | PyPI | >= 1.2.3, < 1.2.14 | 1.2.14 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
- HighLangGraph SDK custom auth silently ignores actions= on resource decoratorslanggraph-sdk
- MediumLangGraph SDK has unsafe URL path constructionlanggraph-sdk
- MediumLangGraph checkpoint loading has unsafe msgpack deserializationlanggraph
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.