Back to list

LangSmith SDK TracingMiddleware: Arbitrary server-side file read — GHSA-F4XH-W4CJ-QXQ8

GitHub · GitHub · GHSA-F4XH-W4CJ-QXQ8

ID
GHSA-F4XH-W4CJ-QXQ8
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.7

Summary

# Summary 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…

Product

pip: langsmith

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories