Skip to main content
VulnerabilityPublished Updated

CVE-2026-59152: langchain-ai langsmith-sdk · Path Traversal

Affects langchain-ai langsmith-sdkSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.0 Medium : upgrade to 0.8.18 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.8.18
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade langchain-ai langsmith-sdk to 0.8.18.

Affected software

ProductAffectedFixed in
langchain-ailangsmith-sdkAffected
  • <0.8.18
Fixed in
  • 0.8.18
PyPIlangsmith-sdkpkg:pypi/langsmith-sdkOther threatsAffected
  • <0.8.18
Fixed in
  • 0.8.18

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade langsmith-sdk to version 0.8.18 or later, where this path traversal vulnerability is fixed. No other mitigations are indicated. Patch status is not explicitly stated as 'official-fix' but the description confirms the issue is fixed in 0.8.18. There is no indication that this is a cloud service; therefore, user-side patching is required.

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.

References

Community reviews

Loading reviews…