CVE-2026-26013Langchain Core
Baja 3.7 Sin autenticación
Seguir: esta CVE · Langchain · Langchain Core Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 37
- CVSS 3.1
- 3.7
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 10 feb 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-918
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Qué pasa
LangChain is a framework for building agents and LLM-powered applications. Prior to 1.2.11, the ChatOpenAI.get_num_tokens_from_messages() method fetches arbitrary image_url values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery (SSRF) attacks by providing malicious image URLs in user input. This vulnerability is fixed in 1.2.11.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Langchain Core.
- 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 | langchain-core |
< 1.2.11 |
1.2.11 |
pip install "langchain-core>=1.2.11" |
| PyPI | langchain-core |
< 1.2.11 |
1.2.11 |
pip install "langchain-core>=1.2.11" |
Según OSV / GitHub Advisories (GHSA-2g6r-c272-w58r, PYSEC-2026-2562). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| langchain | langchain_core | < 1.2.11 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Product Release Notes
- github.com Mitigation Vendor Advisory