cve.bz

CVE-2026-25528

5.8 mediumEPSS 0.3%

Medium (5.8). EPSS 0.3% chance of exploitation in the next 30 days. Fixed in langsmith 0.4.6, 0.6.3.

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.

Severity

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
EPSS
0.3% chance of exploitation in the next 30 days; higher than 25% of CVEs (scores of 2026-10-31)
CWE
CWE-918
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v34v-rq6j-cj6pPyPIlangsmith>=0.4.10 <0.6.30.6.3
GHSA-v34v-rq6j-cj6pnpmlangsmith>=0.3.41 <0.4.60.4.6
PYSEC-2026-2584PyPIlangsmith>=0.4.10 <0.6.30.6.3

References

Check your stackJSON