CVE-2026-25528langchain-ai langsmith-sdk
Media 5.8 Sin autenticación
Seguir: esta CVE · langchain-ai · langchain-ai langsmith-sdk Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 50
- CVSS 3.1
- 5.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 9 feb 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-918
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para langsmith-sdk.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | langsmith |
≥ 0.4.10 < 0.6.3 |
0.6.3 |
pip install "langsmith>=0.6.3" |
| PyPI | langsmith |
≥ 0.4.10 < 0.6.3 |
0.6.3 |
pip install "langsmith>=0.6.3" |
| npm | langsmith |
≥ 0.3.41 < 0.4.6 |
0.4.6 |
npm install langsmith@0.4.6 |
Según OSV / GitHub Advisories (GHSA-v34v-rq6j-cj6p, PYSEC-2026-2584). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- langchain-ai · langsmith-sdk
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.