Back to overview

CVE-2026-59152

MEDIUM
5.0
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-59152
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-07-02 16:50 UTC
Published
2026-07-06 14:26 UTC
Last updated
2026-07-06 14:26 UTC
Primary CWE
CWE-22
CWE-22: Improper Limitation of a Pathname to a Restricted Di…
Vendor / Product
langchain-ai / langsmith-sdk
Sources
cve.org  ·  NVD

Severity & Metrics

5.0 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Affected products (1)
VendorProductPlatformVersions
langchain-ai langsmith-sdk < 0.8.18
Weakness (CWE)
CWESourceDescription
CWE-22 cna CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-346 cna CWE-346: Origin Validation Error
CWE-843 cna CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.0 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
References (1)
Back to overview