Skip to main content
VulnerabilityPublished

CVE-2025-7105: danny-avila/librechat · Uncontrolled Resource Consumption

Affects danny-avila/librechatSource CVE Database V5

0

Not known to be exploited · CVSS 5.7 Medium.

Data as of 26 Oct 2026, 09:16 UTC

CVSS 3.0 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
danny-aviladanny-avila/librechatAffected
  • ≥ unspecified, < v0.7.9
Fixed in–

AI-suggested

To mitigate CVE-2025-7105, organizations should implement strict rate limiting on the /api/convos/fork endpoint to prevent rapid mass forking of content. Input validation should be enhanced to detect and restrict overly complex Mermaid graphs or limit the number of nodes allowed in such graphs. Monitoring and alerting on abnormal API usage patterns can help detect exploitation attempts early. Additionally, configuring JavaScript runtime memory limits and optimizing garbage collection may reduce the risk of heap exhaustion. If feasible, temporarily disabling or restricting the fork functionality until a vendor patch is available can prevent exploitation. Organizations should also keep abreast of updates from the danny-avila/librechat project for official patches or security advisories. Finally, conducting regular security assessments and penetration testing focused on resource consumption vulnerabilities will help identify similar risks.

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.

References

Community reviews

Loading reviews…