CVE-2026-54024
JSON

6.5medium

LibreChat: Incomplete Fix for CVE-2024-11171 — Conversation Import Multer Instance Missing File Size Limits

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the fix for CVE-2024-11171 (commit bb58a2d0) added limits: { fileSize } to createMulterInstance() in the file upload routes. However, the POST /api/convos/import endpoint uses a separate multer instance that was never updated with the same limits configuration. Combined with the application-level size check being disabled by default (the CONVERSATION_IMPORT_MAX_FILE_SIZE_BYTES env var is commented out in .env.example), an authenticated user can upload arbitrarily large files to exhaust server disk space and memory. This vulnerability is fixed in 0.8.4-rc1.

Affected

Product or packageVersionsReported by
danny-avila LibreChat< 0.8.4-rc1CVE List
librechat librechatup to 0.8.3NVD

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the fix for CVE-2024-11171 (commit bb58a2d0) added limits: { fileSize } to createMulterInstance() in the file upload routes. However, the POST /api/convos/import endpoint uses a separate multer instance that was never updated with the same limits configuration. Combined with the application-level size check being disabled by default (the CONVERSATION_IMPORT_MAX_FILE_SIZE_BYTES env var is commented out in .env.example), an authenticated user can upload arbitrarily large files to exhaust server disk space and memory. This vulnerability is fixed in 0.8.4-rc1.

NVD (es)

LibreChat es un clon mejorado de ChatGPT que soporta múltiples proveedores de IA. Antes de la versión 0.8.4-rc1, la corrección para CVE-2024-11171 (commit bb58a2d0) añadió límites: { fileSize } a createMulterInstance() en las rutas de carga de archivos. Sin embargo, el endpoint POST /API/convos/import utiliza una instancia de multer separada que nunca fue actualizada con la misma configuración de límites. Combinado con la verificación de tamaño a nivel de aplicación deshabilitada por defecto (la variable de entorno CONVERSATION_IMPORT_MAX_FILE_SIZE_BYTES está comentada en .env.example), un usuario autenticado puede cargar archivos arbitrariamente grandes para agotar el espacio en disco y la memoria del servidor. Esta vulnerabilidad está corregida en la versión 0.8.4-rc1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54024 changed 2026-06-25CVE Terms of Use
NVDCVE-2026-54024 changed 2026-10-25Public domain