Skip to content
MediumVulnerability

GHSA-w39p-vh2g-g8g5: LangGraph SDK has unsafe URL path construction

Published
Record updated
View JSON
Affected
  • langgraph-sdk < 0.3.15
Fixed in
0.3.15
  • released May 22, 2026, 34 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

The langgraph-sdk builds HTTP request paths by interpolating caller-supplied identifier values into URL templates without sanitization. Identifiers containing URL-special characters can address a different resource or resource type than the call site indicates, potentially exposing, modifying or deleting resources beyond the caller's authorization scope.

Mitigation

The SDK now applies path-segment encoding to identifier values before interpolation into request URL templates. Applications should also validate identifier values (typically as UUIDs) at the boundary where untrusted input enters the application, before passing them to SDK methods.