CVE-2026-54024: LibreChat resource exhaustion in conversation import endpoint

CVE-2026-54024 · Severity: medium · CVSS 6.5 · Published 2026-06-25

LibreChat, an open-source interface for multiple AI providers, contains a flaw that allows users to upload files of any size when importing conversations. An authenticated user can exploit this to upload massive files that fill up the server's storage or crash its memory. This can lead to a complete service outage, preventing all users from accessing the AI chat platform.

Technologies: LibreChat. Vendors: LibreChat.

Quick answers

Is CVE-2026-54024 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-54024 being exploited in the wild.
How severe is CVE-2026-54024?
Medium severity, with a CVSS score of 6.5, published 25 June 2026.
Which products and versions are affected?
LibreChat < 0.8.4-rc1.
Is there a fix for CVE-2026-54024?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-54024 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-54024?
Check whether you run LibreChat at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability exists because the 'POST /api/convos/import' endpoint uses a 'multer' instance that lacks the 'limits: { fileSize }' configuration, which was previously applied to other upload routes in a partial fix for CVE-2024-11171. Furthermore, the application-level size check in 'importConversations.js' is ineffective because the 'CONVERSATION_IMPORT_MAX_FILE_SIZE_BYTES' environment variable is disabled by default, causing the check to evaluate to false. Even if enabled, the check occurs after the file has already been written to disk and loaded into memory via 'fs.readFile()'. An authenticated attacker can trigger disk exhaustion, Out-of-Memory (OOM) crashes, or CPU exhaustion by uploading multi-gigabyte JSON files. The issue is resolved in version 0.8.4-rc1.

Affected products

  • danny-avila LibreChat < 0.8.4-rc1

Timeline

  • 2026-06-02: advisory: GitHub Security Advisory published
  • 2026-06-25: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.