Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-7105

CVE-2025-7105: LibreChat Fork Function DoS Vulnerability

CVE-2025-7105 is a denial of service vulnerability in LibreChat's fork function that allows attackers to trigger JavaScript heap memory errors. This article covers technical details, affected versions, and mitigation strategies.

Published: February 6, 2026

CVE-2025-7105 Overview

A resource exhaustion vulnerability exists in danny-avila/librechat that allows authenticated attackers to exploit the unrestricted Fork Function in /api/convos/fork to fork numerous contents rapidly. When the forked content includes a Mermaid graph with a large number of nodes, it can trigger a JavaScript heap out of memory error upon service restart, resulting in a denial of service condition. This vulnerability affects the latest version of the product.

Critical Impact

Authenticated attackers can cause persistent denial of service by exhausting server memory through rapid forking of conversations containing large Mermaid graphs, preventing the service from restarting properly.

Affected Products

  • danny-avila/librechat (latest version)

Discovery Timeline

  • 2026-02-02 - CVE-2025-7105 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2025-7105

Vulnerability Analysis

This vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption), a type of resource exhaustion flaw that occurs when an application fails to properly limit the consumption of system resources. In this case, the /api/convos/fork API endpoint lacks rate limiting and content size validation, allowing authenticated users to create an excessive number of conversation forks in rapid succession.

The attack becomes particularly severe when the forked conversations contain Mermaid diagram definitions with an extremely large number of nodes. When the LibreChat service attempts to restart or process these conversations, the JavaScript runtime attempts to parse and render all the Mermaid graphs simultaneously, causing the Node.js heap to exceed memory limits and crash with an out-of-memory error.

Root Cause

The root cause of this vulnerability lies in two missing security controls:

  1. Lack of rate limiting on the /api/convos/fork endpoint, allowing users to create unlimited forks in rapid succession
  2. Missing content validation for Mermaid graph complexity, permitting graphs with an excessive number of nodes to be stored and later processed

The combination of these missing controls creates a condition where an attacker can fill the database with resource-intensive content that exhausts server memory when processed during service initialization or restart.

Attack Vector

The attack is network-accessible and requires low-privilege authentication (a standard user account). An attacker can execute this attack through the following mechanism:

  1. The attacker creates or identifies a conversation containing a Mermaid graph with thousands of nodes
  2. The attacker rapidly sends multiple fork requests to /api/convos/fork for this conversation
  3. Each fork creates a copy of the memory-intensive content
  4. Upon service restart, the application attempts to process all forked conversations
  5. The JavaScript heap exhausts available memory, causing the service to crash
  6. The service enters a crash loop, resulting in persistent denial of service

The attack requires some user interaction (authentication) but can be executed remotely over the network with minimal complexity.

Detection Methods for CVE-2025-7105

Indicators of Compromise

  • Unusual spike in API calls to /api/convos/fork from a single user or session
  • Database growth anomalies with numerous duplicated conversation entries
  • Service crash logs indicating JavaScript heap out of memory errors
  • Repeated service restart failures following memory exhaustion events

Detection Strategies

  • Monitor API request rates to /api/convos/fork and alert on abnormal patterns
  • Implement application performance monitoring to detect memory consumption anomalies
  • Configure alerting on Node.js process memory usage approaching heap limits
  • Review application logs for rapid sequential fork operations from individual accounts

Monitoring Recommendations

  • Set up memory utilization thresholds and alerts for the LibreChat service process
  • Implement API endpoint monitoring for unusual request volumes
  • Configure database growth alerts to detect abnormal content accumulation
  • Enable detailed logging for the conversation fork functionality

How to Mitigate CVE-2025-7105

Immediate Actions Required

  • Update LibreChat to include the security patch at commit 97a99985fa339db0a21ad63604e0bb8db4442ffc
  • Implement rate limiting on the /api/convos/fork endpoint at the reverse proxy or application level
  • Review and potentially purge existing conversations with excessively large Mermaid graphs
  • Increase Node.js heap memory limits as a temporary measure while patching

Patch Information

A fix for this vulnerability has been committed to the LibreChat repository. The security patch is available at GitHub Commit 97a9998. Organizations running LibreChat should update to include this commit or a later version that incorporates the fix.

Additional details about this vulnerability are documented in the Huntr Bounty Listing.

Workarounds

  • Implement rate limiting at the API gateway or reverse proxy level for /api/convos/fork
  • Configure maximum request body size limits to prevent large Mermaid graph payloads
  • Set up process monitoring with automatic restart limits to prevent crash loops
  • Temporarily disable or restrict access to the fork functionality until patching is complete
bash
# Example nginx rate limiting configuration for the fork endpoint
limit_req_zone $binary_remote_addr zone=fork_limit:10m rate=5r/m;

location /api/convos/fork {
    limit_req zone=fork_limit burst=10 nodelay;
    proxy_pass http://librechat_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibrechat

  • SeverityMEDIUM

  • CVSS Score5.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Commit Update

  • Huntr Bounty Listing
  • Related CVEs
  • CVE-2026-31949: LibreChat DoS Vulnerability

  • CVE-2026-34371: LibreChat Path Traversal Vulnerability

  • CVE-2026-31943: LibreChat SSRF Vulnerability

  • CVE-2026-31945: Librechat SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English