CVE-2026-25528: langchain-ai langsmith-sdk Server-Side Request Forgery (SSRF)
Vulnerability summary
CVE-2026-25528 is a medium (CVSS 5.8) Server-Side Request Forgery (SSRF) vulnerability in langchain-ai langsmith-sdk. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 09-02-2026PublishedVulnerability first disclosed.
- 10-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- OSV · NpmEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- NVDNIST5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
+0.07 pp
From 0.29% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard22 products
- kibana-8.17< 8.17.10-r10
- kibana-8.17-iamguarded< 8.17.10-r10
- kibana-8.18All versions (No fix recorded)
- kibana-8.18-bitnamiAll versions (No fix recorded)
- kibana-8.18-iamguardedAll versions (No fix recorded)
Langchain-ai1 product
- langsmith-sdk≥ 0.4.10, < 0.6.3
Npm1 product
- langsmith≥ 0.3.41, < 0.4.6
PyPI1 product
- langsmith≥ 0.4.10, < 0.6.3
Wolfi1 product
- langfuse-3-worker< 3.153.0-r2
5 vendors · 26 products
References
6 links- github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-v34v-rq6j-cj6pX Refsource CONFIRMWEBAdvisory
- pypi.org/project/langsmithPACKAGE