CVE-2026-34070Langchain Core
Alta 7.5 Sin autenticación
Seguir: esta CVE · Langchain · Langchain Core Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 31 mar 2026
- Actualizada
- 25 ago 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- 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:N/A:N
Qué pasa
LangChain is a framework for building agents and LLM-powered applications. Prior to version 1.2.22, multiple functions in langchain_core.prompts.loading read files from paths embedded in deserialized config dicts without validating against directory traversal or absolute path injection. When an application passes user-influenced prompt configurations to load_prompt() or load_prompt_from_config(), an attacker can read arbitrary files on the host filesystem, constrained only by file-extension checks (.txt for templates, .json/.yaml for examples). This issue has been patched in version 1.2.22.
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.22 |
1.2.22 |
pip install "langchain-core>=1.2.22" |
| PyPI | langchain-core |
< 1.2.22 |
1.2.22 |
pip install "langchain-core>=1.2.22" |
Según OSV / GitHub Advisories (GHSA-qh6h-p6c9-ff54, PYSEC-2026-2193). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| langchain | langchain_core | < 1.2.22 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Release Notes
- github.com Exploit Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com