What’s Vulnerable › Vulnerabilities

CVE-2025-7105: Denial of Service via JavaScript Memory Overflow in danny-avila/librechat

Description

A vulnerability in danny-avila/librechat allows attackers to exploit the unrestricted Fork Function in `/api/convos/fork` to fork numerous contents rapidly. If the forked content includes a Mermaid graph with a large number of nodes, it can lead to a JavaScript heap out of memory error upon service restart, causing a denial of service. This issue affects the latest version of the product.

Affected products

How to fix

Upgrade to a fixed version: danny-avila LibreChat v0.7.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-7105 or the next vulnerability affects your stack