LangSmith SDK TracingMiddleware: Arbitrary server-side file read
GHSA-f4xh-w4cj-qxq8 · published 2026-06-19
- Severity
- High
- CVSS score
- 7.7
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 0.8.18
Confidentiality (High): arbitrary read of files accessible to the server process, exposed to anyone with workspace trace-read access.
Upgrade langsmith to 0.8.18 or later.
Upgrade the Python SDK to >= 0.8.18.
Until upgrading, do not expose TracingMiddleware to untrusted HTTP traffic, and limit workspace trace-read access to trusted members.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langsmith | PyPI | < 0.8.18 | 0.8.18 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
- HighLangSmith SDK: Public prompt pull deserializes untrusted manifests without trust boundary warninglangsmith, langchain
- MediumLangSmith SDK: Streaming token events bypass output redactionlangsmith
- MediumLangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injectionlangsmith
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.