Amenazas en vivo

Todas las CVE / Langchain

CVE-2024-3571Langchain

Alta 8.8

Prioridad
53
CVSS 3.1
8.8
EPSS
2.5%
probabilidad de explotación en 30 días · percentil 86
Requiere autenticación
Sí
Publicada
16 abr 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-22
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Qué pasa

langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Langchain.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI langchain < 0.0.353 0.0.353 pip install "langchain>=0.0.353"
PyPI langchain < 0.0.353 0.0.353 pip install "langchain>=0.0.353"

Según OSV / GitHub Advisories (GHSA-rgp8-pm28-3759, PYSEC-2026-1510). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
langchainlangchain0.0.351

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.