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 package | Versions | Reported by |
|---|---|---|
| danny-avila LibreChat | < 0.8.4-rc1 | CVE List |
| librechat librechat | up to 0.8.3 | NVD |
Classification
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
| https://github.com/danny-avila/LibreChat/security/advisories/GHSA-52f6-fqwv-jccf | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54024 changed 2026-06-25 | CVE Terms of Use |
| NVD | CVE-2026-54024 changed 2026-10-25 | Public domain |