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.
Published: 2026-06-25
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LibreChat contains an incomplete fix for a prior file‑upload size limitation vulnerability. The POST /api/convos/import endpoint uses a separate Multer instance that was never configured with file size limits, and the application‑level size check is disabled by default. An authenticated user can therefore upload arbitrarily large files, consuming disk space and memory until the system becomes unresponsive or crashes. This flaw corresponds to CWE‑770, unsafe resource handling, and results in denial of service rather than direct data exposure or code execution.

Affected Systems

The affected vendor is danny‑avila:LibreChat. Versions prior to 0.8.4‑rc1 lack the proper size limits on the conversation import route and are therefore vulnerable. All releases up to that point are impacted, regardless of the specific patch level.

Risk and Exploitability

The vulnerability receives a CVSS score of 6.5, indicating a medium severity issue. No EPSS score is published, and the flaw is not listed in CISA’s KEV catalog. Exploitation requires authentication and access to the /api/convos/import endpoint; no special network or privilege escalation is involved. An attacker could upload large payloads until the host runs out of disk or memory, leading to service disruption. Due to the lack of a published exploit and the moderate severity, the risk is moderate but warrants prompt remediation.

Generated by OpenCVE AI on June 25, 2026 at 17:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LibreChat to version 0.8.4‑rc1 or later where the Multer instance is properly configured with file size limits.
  • If an upgrade cannot be performed immediately, introduce a limit by setting the CONVERSATION_IMPORT_MAX_FILE_SIZE_BYTES environment variable and enforce the check in the import handler.
  • Optionally, restrict the /api/convos/import route to privileged users or disable it entirely until the patch is applied to prevent unauthorized large uploads.

Generated by OpenCVE AI on June 25, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 25 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title LibreChat: Incomplete Fix for CVE-2024-11171 — Conversation Import Multer Instance Missing File Size Limits
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-25T15:54:12.571Z

Reserved: 2026-06-11T16:57:50.018Z

Link: CVE-2026-54024

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T17:30:05Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling