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

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-06-19T22:10:34.000Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-f4xh-w4cj-qxq8
- Weaknesses: CWE-22, CWE-346, CWE-843
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-59152](https://www.cve.org/CVERecord?id=CVE-2026-59152), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-f4xh-w4cj-qxq8](https://github.com/advisories/GHSA-f4xh-w4cj-qxq8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59152](https://nvd.nist.gov/vuln/detail/CVE-2026-59152), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59152 · Whole record: https://cve.day/CVE-2026-59152.json · Rebuilt by cve.day 2026-11-25T22:59:27.229Z
