Impact
An HTTP request to a server that has the LangSmith SDK’s TracingMiddleware enabled can trigger a read of any file present on the host. The middleware uploads the retrieved content to a LangSmith trace as an attachment, allowing a party with read access to workspace traces to obtain local file contents. The flaw is a classic arbitrary file read, causing a trust‑boundary crossing that exposes the server’s file system to attackers who are otherwise limited to trace‑view permissions.
Affected Systems
The vulnerability affects installations of the LangSmith client SDK from the vendor langchain‑ai, specifically any versions prior to 0.8.18. Any application built with this SDK that has TracingMiddleware active is potentially exposed.
Risk and Exploitability
The CVSS base score of 5 indicates moderate severity. The EPSS score is < 1%, suggesting a very low likelihood of exploitation, and the vulnerability is not listed in CISA KEV. The likely attack vector is remote: an attacker can send a crafted HTTP request to the TracingMiddleware endpoint, potentially without authentication depending on the trace deployment. The exploit does not require elevated privileges, making it feasible for anyone who can reach the server and has workspace‑trace read rights.
OpenCVE Enrichment