
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-7105 is a Denial of Service (DoS) vulnerability in danny-avila/LibreChat caused by uncontrolled resource consumption in the conversation forking endpoint. An authenticated attacker can exploit the unrestricted /api/convos/fork endpoint to rapidly fork conversations containing Mermaid graphs with a large number of nodes, triggering a JavaScript heap out-of-memory error upon service restart. The vulnerability affects LibreChat versions prior to v0.7.9. It carries a CVSS v3.0 base score of 5.7 (Medium) (Feedly, EUVD).
The root cause is CWE-400 (Uncontrolled Resource Consumption): the /api/convos/fork API endpoint lacked any rate limiting, allowing authenticated users to submit an unbounded number of fork requests in rapid succession. If the forked conversation content includes a Mermaid diagram with a large node count, the server's JavaScript runtime exhausts heap memory when processing or re-rendering these graphs, particularly during service restart. The fix, implemented in commit 97a99985, introduces both IP-based and user-based rate limiters (forkIpLimiter, forkUserLimiter) using express-rate-limit, with configurable environment variables (FORK_IP_MAX, FORK_USER_MAX, FORK_IP_WINDOW, FORK_USER_WINDOW) and optional Redis-backed storage (GitHub Commit).
Successful exploitation causes a JavaScript heap out-of-memory crash on the LibreChat server, resulting in a complete denial of service for all users of the affected instance. The vulnerability has no confidentiality or integrity impact — only availability is affected. Because the crash manifests upon service restart, recovery requires manual intervention, potentially causing extended downtime for self-hosted LibreChat deployments (Feedly, Huntr).
Exploitation requires a low-privilege authenticated account (network-accessible, low complexity), but also requires user interaction per the CVSS vector, suggesting the heap crash is triggered upon a subsequent service restart rather than immediately. No public exploit code or weaponized tooling has been identified. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and the EPSS score is approximately 0.036%, indicating a very low probability of near-term exploitation in the wild (Feedly).
/api/convos/fork in rapid succession, referencing the conversation with the large Mermaid graph. This can be scripted using tools like curl or Python requests./api/convos/fork from a single IP or user account within a short time window; HTTP 429 responses (after patching) indicating rate limit triggers.FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory; repeated service crash/restart cycles in process manager logs (e.g., PM2, systemd).Upgrade LibreChat to version v0.7.9 or later, which introduces rate limiting on the /api/convos/fork endpoint via the commit 97a99985 (GitHub Commit). After upgrading, administrators can tune rate limit behavior using environment variables: FORK_IP_MAX (default: 30 requests/window per IP), FORK_USER_MAX (default: 7 requests/window per user), FORK_IP_WINDOW, and FORK_USER_WINDOW (both default: 1 minute). For Redis-backed deployments, set USE_REDIS=true to enable distributed rate limit tracking. As a temporary workaround prior to patching, restrict access to the /api/convos/fork endpoint via a reverse proxy or WAF rule.
The vulnerability was reported through the Huntr bug bounty platform and disclosed on February 2, 2026. No significant public commentary, vendor statements beyond the patch commit, or notable media coverage has been identified for this medium-severity DoS issue (Huntr).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."