Medium severity · published Jul 6, 2026
CVE-2026-59152
Arbitrary server-side file read in LangSmith SDK TracingMiddleware
5.0
CVSS
0.2%
EPSS
No
On KEV
Description
LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. Prior to 0.8.18, an attacker who can send an HTTP request to a server running the LangSmith SDK's TracingMiddleware can cause that server to read an arbitrary file from its local filesystem and upload the contents to LangSmith as a trace attachment. Depending on how the distributed trace system is deployed, triggering a read may not require authentication. Retrieving the contents requires read access to the LangSmith workspace the traces are sent to. The net effect is a trust-boundary crossing: a party with workspace trace-read access (for example a low-privilege workspace member, a contractor, or a compromised teammate account) gains the ability to read files from any server running TracingMiddleware, a capability outside that workspace's intended trust boundary. This vulnerability is fixed in 0.8.18.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LA
langsmith-sdk · langchain-ai
< 0.8.18 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-59152
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-59152
github.com
https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-f4xh-w4cj-qxq8
More from langsmith-sdk
9.8
CVE-2026-40190
LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete `__proto__` Guard in Internal lodash `set()`
7.1
CVE-2026-45134
LangSmith Client SDK: Public prompt pull deserializes untrusted manifests without trust boundary warning
5.8
CVE-2026-25528
LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection
5.3
CVE-2026-41182
LangSmith SDK: Streaming token events bypass output redaction
