Live threats

All CVEs / langchain-ai

CVE-2026-59152langchain-ai langsmith-sdk

Medium 5.0

Priority
30
CVSS 3.1
5.0
EPSS
—
Auth required
Yes
Published
Jul 6, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-346, CWE-843
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for langsmith-sdk.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI langsmith < 0.8.18 0.8.18 pip install "langsmith>=0.8.18"

Per OSV / GitHub Advisories (GHSA-f4xh-w4cj-qxq8). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.