Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langgraph-sdk
  4. ›
  5. CVE-2026-48776

CVE-2026-48776: LangGraph SDK has unsafe URL path construction

June 25, 2026

langgraph-sdk constructs HTTP request paths for resource operations by interpolating caller-supplied identifier values into URL templates. Without sanitization of those values, identifiers that contain characters with special meaning in URL paths could cause the resulting request to address a different resource (and potentially a different resource type) than the SDK method’s call site indicates. In deployments where the SDK receives identifier values that originate from untrusted sources, this could result in unintended access, modification, or deletion of resources beyond the calling user’s authorization scope.

This issue is most consequential in deployments that:

  • forward end-user-supplied values directly into SDK identifier parameters without first validating them against an expected format (such as a UUID), and
  • rely on URL-prefix-based authorization at an upstream layer (reverse proxy, edge gateway, WAF), where the authorization decision is made on the SDK call’s intended path rather than on the final delivered request path.

There have no evidence of this behavior being triggered in the wild. This change is intended to reduce the surface available when caller-supplied identifier values originate from untrusted sources.

References

  • github.com/advisories/GHSA-w39p-vh2g-g8g5
  • github.com/langchain-ai/langgraph/releases/tag/sdk%3D%3D0.3.15
  • github.com/langchain-ai/langgraph/security/advisories/GHSA-w39p-vh2g-g8g5
  • nvd.nist.gov/vuln/detail/CVE-2026-48776

Code Behaviors & Features

Detect and mitigate CVE-2026-48776 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.15

Fixed versions

  • 0.3.15

Solution

Upgrade to version 0.3.15 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-863: Incorrect Authorization

Source file

pypi/langgraph-sdk/CVE-2026-48776.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 16 Jul 2026 00:19:47 +0000.