CVE-2026-41488Langchain-openai
Baja 3.1 Sin autenticación
Seguir: esta CVE · Langchain · Langchain-openai Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 34
- CVSS 3.1
- 3.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 24 abr 2026
- Actualizada
- 26 oct 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:R/S:U/C:L/I:N/A:N
Qué pasa
LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's _url_to_size() helper (used by get_num_tokens_from_messages for image token counting) validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS resolution. This left a TOCTOU / DNS rebinding window: an attacker-controlled hostname could resolve to a public IP during validation and then to a private/localhost IP during the actual fetch.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Langchain-openai.
- 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-openai |
< 1.1.14 |
1.1.14 |
pip install "langchain-openai>=1.1.14" |
| PyPI | langchain-openai |
< 1.1.14 |
1.1.14 |
pip install "langchain-openai>=1.1.14" |
Según OSV / GitHub Advisories (GHSA-r7w7-9xr2-qq2r, PYSEC-2026-76). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| langchain | langchain-openai | < 1.1.14 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Mitigation Vendor Advisory