GHSA-v34v-rq6j-cj6p: LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection
- Identifiers
- CVE-2026-25528GHSA-v34v-rq6j-cj6p
- Published
- Record updated
- Affected
- langsmith >= 0.4.10, < 0.6.3, fixed in 0.6.3
- langsmith >= 0.3.41, < 0.4.6, fixed in 0.4.6
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
The LangSmith SDK's distributed tracing feature is vulnerable to server-side request forgery through the baggage header. Before the fix, RunTree.from_headers() in Python and RunTree.fromHeaders() in TypeScript accepted attacker-supplied api_url and api_key values from baggage, and post() and patch() then sent run data, including LLM inputs and outputs, to those URLs.
Mitigation
Python: pip install langsmith>=0.6.3. JavaScript: npm install langsmith@>=0.4.6. The fix filters replica configurations to an allowlist of safe fields. If upgrading is not possible, strip or validate the baggage header before passing it to from_headers(), and do not use TracingMiddleware with untrusted traffic.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- langsmithnpmNo LLM dependency detected, 8 tracked dependents
- langsmithPyPILLM dependency since 2025-03-14, 9 tracked dependents
Related items
- MediumCVE-2026-136537: LiteLLM key_management_endpoints missing authorization allows bypassSame vendor, NVD/CVE Database
- MediumCVE-2026-135287: LiteLLM Proxy callback injection through request body callbacks fieldsSame vendor, NVD/CVE Database
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor, GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor, GitHub Advisory Database
- MediumGHSA-3fx2-cqw9-xr3c: LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestsSame vendor, GitHub Advisory Database