CVE-2025-68664Langchain Core
Alta 8.2 Sin autenticación
Seguir: esta CVE · Langchain · Langchain Core Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 23 dic 2025
- Actualizada
- 19 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-502
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Qué pasa
LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data contains this key structure, it is treated as a legitimate LangChain object during deserialization rather than plain user data. This issue has been patched in versions 0.3.81 and 1.2.5.
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.0.0 < 1.2.5 |
1.2.5 |
pip install "langchain-core>=1.2.5" |
| PyPI | langchain-core |
< 0.3.81 |
0.3.81 |
pip install "langchain-core>=0.3.81" |
| PyPI | langchain-core |
< 0.3.81 |
0.3.81 |
pip install "langchain-core>=0.3.81" |
| PyPI | langchain-core |
≥ 1.0.0 < 1.2.5 |
1.2.5 |
pip install "langchain-core>=1.2.5" |
Según OSV / GitHub Advisories (GHSA-c67j-w6g6-q2cm, PYSEC-2026-373). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| langchain | langchain_core | < 0.3.81 |
| langchain | langchain_core | ≥ 1.0.0 < 1.2.5 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Vendor Advisory