CVE-2026-118667: langchain-ai langgraph · Path Traversal
Affects langchain-ai langgraphSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium : upgrade to 1.2.14 when convenient.
Data as of 28 Oct 2026, 21:14 UTC
- Patch
- Available – fixed in 1.2.14, 0.4.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade langgraph to 1.2.14; langgraph-sdk to 0.4.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| langchain-ailanggraph | Affected
| Fixed in
|
| langchain-ailanggraph-sdk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade langgraph-sdk to version 0.4.6 or later and langgraph to version 1.2.14 or later to apply the official fixes that properly encode path parameters and prevent path traversal. No other mitigation is indicated or required.
Description
A path traversal vulnerability (CWE-22) exists in langchain-ai's langgraph Python SDK and langgraph versions prior to 0.4.6 and 1.2.14 respectively. The issue arises when certain helper functions interpolate user-controlled assistant_id and thread_id values into authenticated GET request paths without proper encoding, allowing relative path segments to access unintended server paths. This vulnerability is fixed in langgraph-sdk 0.4.6 and langgraph 1.2.14.
References
- github.com/langchain-ai/langgraph/security/advisories/GHSA-3fx2-cqw9-xr3c (opens in a new tab)
- github.com/langchain-ai/langgraph/pull/9213 (opens in a new tab)
- github.com/langchain-ai/langgraph/commit/d89c7e100ec6fc1512544d23b0a7c5169699ef3e (opens in a new tab)
- github.com/langchain-ai/langgraph/releases/tag/1.2.14 (opens in a new tab)
- github.com/langchain-ai/langgraph/releases/tag/sdk%3D%3D0.4.6 (opens in a new tab)