Skip to main content
← All vulnerabilities
CVE-2026-59152GHSA-F4XH-W4CJ-QXQ8

Arbitrary server-side file read in LangSmith SDK TracingMiddleware

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.18
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langchain-ai langsmith-sdk

    fixed in 0.8.18

  • langsmithPyPI

    fixed in 0.8.18

References 1

GitHub · langchain-ai/langsmith-sdk