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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.2
- **CVSS:** 4.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-22, CWE-863
- **Aliases:** GHSA-w39p-vh2g-g8g5, PYSEC-2026-2194, PYSEC-2026-2575
- **Published:** 2026-06-16T19:51:09.464Z
- **Modified:** 2026-07-21T15:15:50.659Z

## Who should check

- Projects that depend on PyPI package langgraph-sdk (\< 0.3.15)
- Projects that depend on PyPI package langgraph (\< 0.3.15)
- Anyone running langchain-ai \< 1.2.1
- Anyone running langchain-ai langchain-sdk \< 0.3.15

## Description

LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. Versions 0.3.14 and prior have unsafe URL path construction through unsanitized caller-supplied identifier values used in HTTP request paths for resource operations. 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. The issue has been fixed in version 0.3.15.

## Affected and fixed versions

- PyPI `langgraph-sdk`: affected \< 0.3.15; fixed 0.3.15 (osv)
- PyPI `langgraph`: affected \< 0.3.15; fixed 0.3.15 (osv)
- langchain-ai: \< 1.2.1 (cvelist)
- langchain-ai langchain-sdk: \< 0.3.15 (cvelist)

## Mitigation

- Upgrade langgraph-sdk to 0.3.15 or later.
- Upgrade langgraph to 0.3.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-48776. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-48776.md
Affected: langgraph-sdk < 0.3.15; langgraph < 0.3.15
Fixed in: 0.3.15

Steps:
1. Search this machine and project for langgraph-sdk (PyPI), langgraph (PyPI), langchain-ai, langchain-ai langchain-sdk: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-48776 being exploited?

There is no confirmed exploitation: CVE-2026-48776 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-48776?

Medium: CVSS 4.2 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-48776?

langgraph-sdk \< 0.3.15; langgraph \< 0.3.15.

### Is there a fix for CVE-2026-48776?

Yes. Fixed in 0.3.15. Upgrade langgraph-sdk to 0.3.15 or later. Upgrade langgraph to 0.3.15 or later.

### How do I check if I'm affected by CVE-2026-48776?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/langchain-ai/langgraph/security/advisories/GHSA-w39p-vh2g-g8g5>
- vendor: <https://github.com/langchain-ai/langgraph/releases/tag/sdk%3D%3D0.3.15>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-48776>
- vendor: <https://github.com/advisories/GHSA-w39p-vh2g-g8g5>
- other: <https://github.com/langchain-ai/langgraph>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/langgraph-sdk/PYSEC-2026-2575.yaml>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/langgraph/PYSEC-2026-2194.yaml>
- other: <https://pypi.org/project/langgraph-sdk>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-48776>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w39p-vh2g-g8g5> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2194> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2575> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-48776> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-48776>
