Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-25528

MEDIUM 5.8EPSS 25%

LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection

Also known as GHSA-v34v-rq6j-cj6p, PYSEC-2026-2584

Mitigation

  • Upgrade langsmith to 0.6.3 or later.
  • Upgrade langsmith to 0.4.6 or later.

Who should check

  • Projects that depend on PyPI package langsmith (>= 0.4.10, < 0.6.3)
  • Projects that depend on npm package langsmith (>= 0.3.41, < 0.4.6)
  • Anyone running langchain-ai langsmith-sdk >= 0.4.10, <0.6.3

Vulnerability facts

Affected
langsmith >= 0.4.10, < 0.6.3; langsmith >= 0.3.41, < 0.4.6
Fixed in
0.6.3, 0.4.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
CWE
CWE-918
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI langsmith>= 0.4.10, < 0.6.30.6.3osv
npm langsmith>= 0.3.41, < 0.4.60.4.6osv
langchain-ai langsmith-sdk>= 0.4.10, <0.6.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-25528. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-25528.md
Affected: langsmith >= 0.4.10, < 0.6.3; langsmith >= 0.3.41, < 0.4.6
Fixed in: 0.6.3, 0.4.6

Steps:
1. Search this machine and project for langsmith (PyPI), langsmith (npm), langchain-ai langsmith-sdk: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-25528 being exploited?

There is no confirmed exploitation: CVE-2026-25528 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-25528?

Medium: CVSS 5.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-25528?

langsmith >= 0.4.10, < 0.6.3; langsmith >= 0.3.41, < 0.4.6.

Is there a fix for CVE-2026-25528?

Yes. Fixed in 0.6.3, 0.4.6. Upgrade langsmith to 0.6.3 or later. Upgrade langsmith to 0.4.6 or later.

How do I check if I'm affected by CVE-2026-25528?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors