LangGraph SDK has unsafe URL path construction
CVE-2026-48776 · GHSA-w39p-vh2g-g8g5 · published 2026-06-25 · updated 2026-07-21
- Severity
- Medium
- CVSS score
- 4.2
- Chance of exploitation (EPSS)
- 0.22%
- Fixed in
- 0.3.15
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
Potential unintended access, modification, or deletion of resources via SDK methods called for a different resource type, when caller-supplied identifier values are not validated. In deployments with prefix-based authorization at an upstream layer, the authorization decision and the final delivered request path may diverge. Confidentiality: disclosure of resource content beyond the authorization scope of the calling user. Integrity: modification or deletion of resources beyond the authorization scope of the calling user.
Upgrade langgraph-sdk to 0.3.15 or later.
The SDK now applies path-segment encoding to identifier values before they are interpolated into request URL templates. After this change, identifier values that contain characters with special meaning in URL paths are transmitted as encoded byte sequences and routed to the resource the SDK method's call site indicates.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langgraph-sdk | PyPI | < 0.3.15 | 0.3.15 |
- 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: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestslanggraph-sdk, langgraph
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.