# CVE-2026-25528: LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 25% of CVEs (2026-11-30)
- Published: 2026-02-09T20:08:32.903Z
- Modified: 2026-09-10T03:50:35.941Z
- Also known as: GHSA-v34v-rq6j-cj6p, PYSEC-2026-2584
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. The LangSmith SDK's distributed tracing feature is vulnerable to Server-Side Request Forgery via malicious HTTP headers. An attacker can inject arbitrary api_url values through the baggage header, causing the SDK to exfiltrate sensitive trace data to attacker-controlled endpoints. When using distributed tracing, the SDK parses incoming HTTP headers via RunTree.from_headers() in Python or RunTree.fromHeaders() in Typescript. The baggage header can contain replica configurations including api_url and api_key fields. Prior to the fix, these attacker-controlled values were accepted without validation. When a traced operation completes, the SDK's post() and patch() methods send run data to all configured replica URLs, including any injected by an attacker. This vulnerability is fixed in version 0.6.3 of the Python SDK and  0.4.6 of the JavaScript SDK.

(As written by CVE List.)

## Affected

- langchain-ai langsmith-sdk: >= 0.4.10, <0.6.3
- langsmith (PyPI): from 0.4.10 before 0.6.3
- langsmith (npm): from 0.3.41 before 0.4.6

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-v34v-rq6j-cj6p> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25528> (advisory)
- <https://github.com/langchain-ai/langsmith-sdk> (package)
- <https://pypi.org/project/langsmith> (package)
- <https://github.com/advisories/GHSA-v34v-rq6j-cj6p> (advisory)

## Sources

- CVE List: [CVE-2026-25528](https://www.cve.org/CVERecord?id=CVE-2026-25528), CVE Terms of Use, modified 2026-02-10
- GitHub Advisory Database: [GHSA-v34v-rq6j-cj6p](https://github.com/advisories/GHSA-v34v-rq6j-cj6p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-25528](https://nvd.nist.gov/vuln/detail/CVE-2026-25528), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2584](https://osv.dev/vulnerability/PYSEC-2026-2584), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-25528 · Whole record: https://cve.day/CVE-2026-25528.json · Rebuilt by cve.day 2026-11-25T22:59:13.672Z
