PT-2026-7149 · Langsmith · Langsmith Client Sdks

Angus-Langchain

·

Published

2026-02-09

·

Updated

2026-05-20

·

CVE-2026-25528

CVSS v3.1

5.8

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions LangSmith Client SDKs versions prior to 0.6.3 LangSmith Client SDKs versions prior to 0.4.6
Description The LangSmith SDK’s distributed tracing feature is susceptible to Server-Side Request Forgery (SSRF) through manipulation of HTTP headers. An attacker can inject arbitrary api url values via the baggage header, potentially causing the SDK to transmit sensitive trace data—including prompts and completions—to attacker-controlled endpoints. The SDK parses incoming HTTP headers using RunTree.from headers() in Python and RunTree.fromHeaders() in Typescript, accepting attacker-controlled values in the api url and api key fields within the baggage header without validation. Upon completion of a traced operation, the SDK’s post() and patch() methods transmit run data to all configured replica URLs, including those injected by an attacker.
Recommendations Update the Python SDK to version 0.6.3 or later. Update the JavaScript SDK to version 0.4.6 or later.

Exploit

Fix

SSRF

Weakness Enumeration

Related Identifiers

CVE-2026-25528
GHSA-V34V-RQ6J-CJ6P

Affected Products

Langsmith Client Sdks