CVE-2026-48776·Python vulnerability
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.
- Severity
- medium
- Software
- Python
- Fixed in
- 0.3.15
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.22% — higher than 12% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
Until: 0.3.15
Fixed in: 0.3.15
How to fix this CVE
Update the LangGraph Python SDK to version 0.3.15 or later to remediate unsafe URL path construction that could allow path traversal attacks. Applications using LangGraph to interact with API servers should prioritize this update, especially if identifier values originate from untrusted sources. Additionally, validate all user-supplied identifiers against expected formats (such as UUIDs) before passing them to SDK methods as a defense-in-depth measure.
sudo dnf install --refresh python3-langgraph || pip3 install --upgrade langgraph>=0.3.15Defensia detects this vulnerability
WAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement WAF rules to validate and sanitize identifier parameters in HTTP requests to LangGraph API endpoints. Enforce strict patterns (UUID format validation) for resource identifiers and block requests containing path traversal characters (/, ., ..) in identifier values to prevent exploitation of unsanitized path construction.How to check if you are affected
- Run 'pip3 show langgraph | grep Version' to check the installed version of the LangGraph SDK
- Review your application code for direct use of LangGraph SDK methods that accept identifier parameters (assistant_id, thread_id, run_id) from user input
- Search application logs for HTTP 403/404 errors or unexpected resource access patterns around API calls that may indicate path traversal attempts
- After patching, re-run 'pip3 show langgraph | grep Version' and confirm the version is 0.3.15 or greater
FAQ
What is CVE-2026-48776?
CVE-2026-48776 is a path traversal vulnerability in the LangGraph Python SDK that occurs when unsanitized user-supplied identifiers are used to construct HTTP request paths. An attacker could manipulate these identifiers to access resources beyond their authorization scope.
Is CVE-2026-48776 being actively exploited?
No, this vulnerability is not currently listed as actively exploited in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploit code is available.
What versions of the LangGraph Python SDK are affected by CVE-2026-48776?
All versions of the LangGraph Python SDK up to and including version 0.3.14 are vulnerable. Version 0.3.15 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-48776?
Run 'pip3 show langgraph' and check the Version field. If it shows 0.3.14 or earlier, your installation is vulnerable and requires immediate updating to 0.3.15 or later.
Does Defensia detect CVE-2026-48776?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the LangGraph Python SDK is installed on a monitored server, CVE-2026-48776 will appear in your dashboard with remediation steps.
Related Python CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-48776. Free for 1 server.
Get started free