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

Published Jul 6, 2026
·
Updated

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.

Affected Software

1 affected component
LangSmith LangSmith Client SDK (TracingMiddleware)<0.8.18

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade LangSmith SDK TracingMiddleware to a version that resolves this vulnerability.

    Fixed in 0.8.18

Event History

Jul 6, 2026
CVE Published
via MITRE·02:26 PM
Data Sourced
via MITRE·02:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59152?

CVE-2026-59152 has a medium severity rating of 5.

2

How do I fix CVE-2026-59152?

To fix CVE-2026-59152, update the LangSmith Client SDK to version 0.8.18 or later.

3

What type of vulnerability is CVE-2026-59152?

CVE-2026-59152 is a path traversal vulnerability allowing arbitrary server-side file read.

4

Who is affected by CVE-2026-59152?

CVE-2026-59152 affects servers running the LangSmith Client SDK's TracingMiddleware prior to version 0.8.18.

5

What can an attacker do with CVE-2026-59152?

An attacker can send an HTTP request that lets the server read arbitrary files from its local filesystem.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203