Skip to main content
CVE-2026-25528VulnerabilityPublished

CVE-2026-25528: langchain-ai langsmith-sdk · Server-Side Request Forgery (SSRF)

Affects langchain-ai langsmith-sdkSource CVE Database V5

0

Not known to be exploited · CVSS 5.8 Medium : upgrade to 0.6.3 when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.6.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade langchain-ai langsmith-sdk to 0.6.3.

Affected software

ProductAffectedFixed in
langchain-ailangsmith-sdkAffected
  • >=0.4.10 <0.6.3
Fixed in
  • 0.6.3

AI-suggested

European organizations should immediately upgrade langsmith-sdk to at least version 0.6.3 for Python and 0.4.6 for JavaScript to ensure the vulnerability is patched. Until upgrades can be applied, organizations should implement strict network egress filtering to prevent the SDK from making outbound HTTP requests to untrusted or external endpoints, especially those not explicitly whitelisted. Monitoring and logging of outbound requests from applications using the SDK can help detect anomalous traffic indicative of exploitation attempts. Additionally, organizations should audit their use of distributed tracing and the baggage header to ensure that untrusted input is not accepted or propagated. Applying Web Application Firewall (WAF) rules to detect and block suspicious baggage header values may provide temporary mitigation. Finally, review trace data for any signs of exfiltration and conduct a security assessment of internal services exposed via tracing to identify any further risks.

Description

CVE-2026-25528 is a Server-Side Request Forgery (SSRF) vulnerability in the langchain-ai langsmith-sdk affecting versions >= 0.4.10 and < 0.6.3. The vulnerability arises from the SDK's distributed tracing feature, which accepts unvalidated api_url values injected via the baggage HTTP header. An attacker can exploit this by injecting malicious URLs, causing the SDK to send sensitive trace data to attacker-controlled endpoints. This flaw affects both the Python and JavaScript SDKs prior to versions 0.6.3 and 0.

References

Community reviews

Loading reviews…