CVE-2026-59152: LangSmith SDK TracingMiddleware · Arbitrary server-side file read
Affects langgraph-cliSource GCVE Database
Not known to be exploited · CVSS 5.0 Medium : upgrade to 0.4.30_2 when convenient.
Data as of 4 Dec 2026, 20:31 UTC
- Patch
- Available – fixed in 0.4.30_2, 0.8.18
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 4 Dec 2026.
What to do
Upgrade langgraph-cli to 0.4.30_2; langsmith to 0.8.18.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewlanggraph-clipkg:brew/langgraph-cliOther threats | Affected
| Fixed in
|
PyPIlangsmithpkg:pypi/langsmithOther threats | 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 the langgraph-cli Python SDK to version 0.4.30_2 or later to apply the official fix. Until upgrading, do not expose TracingMiddleware to untrusted HTTP traffic and restrict workspace trace-read access to trusted members only.
Description
CVE-2026-59152 is a vulnerability in the LangSmith SDK's TracingMiddleware that allows an attacker to cause the server to read arbitrary files from its local filesystem and upload their contents as trace attachments. Exploitation requires sending an HTTP request to the server, which may not require authentication depending on deployment. The file contents can only be retrieved by users with read access to the LangSmith workspace receiving the traces, creating a trust boundary crossing. The issue is fixed in version 0.4.30_2 of the langgraph-cli Python SDK.