{"id":"CVE-2026-59152","published":"2026-07-06T14:26:55Z","modified":"2026-07-07T15:17:40Z","title":"Arbitrary server-side file read in LangSmith SDK TracingMiddleware","vendor":"langchain-ai","product":"langsmith-sdk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00198,"percentile":0.09827,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-f4xh-w4cj-qxq8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.97},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"langchain-ai","affectedVersions":[{"vendor":"langchain-ai","product":"langsmith-sdk","versions":["< 0.8.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-07T15:17:33.429942Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41879","exploited":false,"provenance":"source"}}