Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langsmith
  4. ›
  5. GHSA-f4xh-w4cj-qxq8

GHSA-f4xh-w4cj-qxq8: LangSmith SDK TracingMiddleware: Arbitrary server-side file read

June 19, 2026

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.

References

  • github.com/advisories/GHSA-f4xh-w4cj-qxq8
  • github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-f4xh-w4cj-qxq8

Code Behaviors & Features

Detect and mitigate GHSA-f4xh-w4cj-qxq8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.8.18

Fixed versions

  • 0.8.18

Solution

Upgrade to version 0.8.18 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-346: Origin Validation Error
  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Source file

pypi/langsmith/GHSA-f4xh-w4cj-qxq8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:34 +0000.