CVE-2024-11171 Improper Input Validation in danny-avila/librechat
Unrestricted file upload size in LibreChat causes server crashes via out-of-memory errors, allowing unauthenticated attackers to deny service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-11171?
CVE-2024-11171 is a high-severity denial of service vulnerability in Librechat Librechat, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. The application uses multer middleware for handling multipart file uploads. When using in-memory storage (the default setting for multer), there is no limit on the upload file size. This can lead to a server crash due to out-of-memory errors when handling large files. An attacker without any privileges can exploit this vulnerability to cause a complete denial of service. The issue is fixed in version 0.7.6.
Weakness: CWE-770
Which versions are affected by CVE-2024-11171?
It affects 1 product.
Products include Librechat Librechat.
How do I fix CVE-2024-11171?
No fix has been published for CVE-2024-11171 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-11171 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11171 exists.
Other vulnerabilities in Librechat Librechat
- CVE-2026-32625 LibreChat Exfiltrates Server Secrets via MCP Server URL Injection
- CVE-2024-11167 Improper Access Control in danny-avila/librechat
- CVE-2026-22252 LibreChat MCP Stdio Remote Command Execution
- CVE-2025-69222 LibreChat is vulnerable to Server-Side Request Forgery due to missing restrictions
- CVE-2024-41704 Path traversal in n/a
Sources
Also known as GHSA-c2qr-w9p6-cxgr.