{"id":"CVE-2026-25528","published":"2026-02-09T20:08:32Z","modified":"2026-02-10T15:59:49Z","title":"LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection","vendor":"langchain-ai","product":"langsmith-sdk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00315,"percentile":0.25114,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-v34v-rq6j-cj6p","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":5.02},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"langchain-ai","affectedVersions":[{"vendor":"langchain-ai","product":"langsmith-sdk","versions":[">= 0.4.10, <0.6.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-10T15:39:48.039907Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langsmith","vulnerableRanges":[">=0.4.10, <0.6.3"],"patched":["0.6.3"],"from":["GHSA-v34v-rq6j-cj6p","PYSEC-2026-2584"],"provenance":"source"},{"ecosystem":"npm","package":"langsmith","vulnerableRanges":[">=0.3.41, <0.4.6"],"patched":["0.4.6"],"from":["GHSA-v34v-rq6j-cj6p"],"provenance":"source"}],"summary":{"text":"The LangSmith client SDKs for Python and JavaScript have a server-side request forgery flaw in their distributed tracing feature, where RunTree.from_headers() (Python) and RunTree.fromHeaders() (TypeScript) accept api_url and api_key values from the baggage HTTP header without validation. An attacker able to send HTTP requests to an application using this tracing can, without authentication or user interaction, cause the SDK to send trace data to attacker-controlled endpoints.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:27Z"},"euvd":{"id":"EUVD-2026-6847","exploited":false,"provenance":"source"}}