# CVE-2026-59152: Arbitrary server-side file read in LangSmith SDK TracingMiddleware

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-06 · Modified: 2026-07-07
- Aliases: GHSA-f4xh-w4cj-qxq8
- Record: https://cvemate.com/vulnerability/CVE-2026-59152 · JSON: https://cvemate.com/vulnerability/CVE-2026-59152/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- EPSS: 0.174%, percentile 7.088%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- langchain-ai langsmith-sdk: \< 0.8.18
- PyPI langsmith (PyPI): \< 0.8.18

## References

- <https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-f4xh-w4cj-qxq8>
- <https://github.com/langchain-ai/langsmith-sdk>

---

Data as of 2026-12-05T11:43:11.555Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
