Advisory record · GHSA-f4xh-w4cj-qxq8

LangSmith SDK TracingMiddleware: Arbitrary server-side file read

CVSS 5.0 MediumEPSS 0.0020 · 9th percentile

Published by the GitHub Advisory Database at 19 Jun 2026, 22:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
langsmithPyPI<0.8.180.8.18
Identifiers
GHSA-f4xh-w4cj-qxq8 · CVE-2026-59152
Weakness (CWE)
CWE-22 · CWE-346 · CWE-843
Published
19 Jun 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The LangSmith SDK (langsmith, PyPI) versions before 0.8.18 are affected. An attacker who can send HTTP requests to a server running TracingMiddleware can make that server read an arbitrary local file and upload it as a trace attachment. The attacker then needs read access to the destination LangSmith workspace, such as a workspace member, to retrieve the contents. Upgrade langsmith to 0.8.18 or later. Until then, do not expose TracingMiddleware to untrusted HTTP traffic and limit workspace trace-read access to trusted members.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.0 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0020, the 9th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.