The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-69222

CVE-2025-69222: LibreChat SSRF Vulnerability

CVE-2025-69222 is a server-side request forgery flaw in LibreChat that allows agents to access internal services without restrictions. This post covers the technical details, affected versions, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-69222 Overview

CVE-2025-69222 is a Server-Side Request Forgery (SSRF) vulnerability affecting LibreChat, a popular open-source ChatGPT clone with enhanced features. The vulnerability exists in version 0.8.1-rc2 due to missing restrictions on the Actions feature in the default configuration. LibreChat enables users to configure agents with predefined instructions and actions that can interact with remote services via OpenAPI specifications, supporting various HTTP methods, parameters, and authentication methods including custom headers. By default, there are no restrictions on accessible services, allowing agents to access internal components like the RAG API included in the default Docker Compose setup.

Critical Impact

Attackers with low privileges can exploit this SSRF vulnerability to access internal services and components, potentially leading to unauthorized data access, internal network reconnaissance, and compromise of backend systems in LibreChat deployments.

Affected Products

  • LibreChat version 0.8.1-rc2
  • LibreChat deployments using default Docker Compose configuration
  • LibreChat instances with unrestricted Actions feature

Discovery Timeline

  • 2026-01-07 - CVE-2025-69222 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-69222

Vulnerability Analysis

This vulnerability is classified under CWE-918 (Server-Side Request Forgery). The SSRF flaw allows authenticated users to abuse the Actions feature to make arbitrary HTTP requests from the server to internal or external destinations. The core issue stems from the lack of URL validation and network segmentation controls in the default configuration.

The Actions feature in LibreChat is designed to enable agents to interact with external services through OpenAPI specifications. However, the implementation fails to enforce allowlists or blocklists for target URLs, enabling users to craft requests targeting internal infrastructure. This is particularly concerning in containerized environments where the default Docker Compose setup includes the RAG API as an accessible internal component.

An attacker with basic user-level access can configure a malicious agent that targets internal endpoints such as http://localhost, http://127.0.0.1, cloud metadata endpoints like http://169.254.169.254, or other internal services within the Docker network. This enables reconnaissance of internal network topology, access to sensitive configuration data, and potential lateral movement within the infrastructure.

Root Cause

The root cause of this vulnerability is the absence of network access restrictions and URL validation in the Actions feature's default configuration. LibreChat's design allows agents to make HTTP requests to arbitrary URLs without validating whether the destination is an internal or external resource. The default Docker Compose setup exacerbates this issue by placing multiple services on the same network without proper isolation, making internal components like the RAG API directly accessible via SSRF.

Attack Vector

The attack vector is network-based, requiring the attacker to have low-level authentication (PR:L) to configure agents within LibreChat. No user interaction is required for exploitation. An attacker creates a custom agent with an OpenAPI specification pointing to internal endpoints or sensitive external services. When the agent executes, the LibreChat server makes requests on behalf of the attacker, bypassing network-level access controls and potentially exposing internal services, cloud metadata, or other protected resources.

The vulnerability allows requests to be crafted with various HTTP methods and custom headers, increasing the attack surface and potential impact. In cloud environments, attackers could target instance metadata services to extract credentials, while in on-premises deployments, they could map internal networks and access administrative interfaces.

Detection Methods for CVE-2025-69222

Indicators of Compromise

  • Unusual outbound HTTP requests from the LibreChat server to internal IP ranges (e.g., 127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x)
  • Agent configurations containing suspicious OpenAPI specifications targeting localhost, cloud metadata endpoints, or internal service URLs
  • Unexpected access patterns to the RAG API or other internal Docker services from the LibreChat application container
  • HTTP requests to cloud metadata endpoints (e.g., 169.254.169.254) originating from the LibreChat server

Detection Strategies

  • Monitor network traffic from the LibreChat container for connections to internal IP ranges, localhost, or link-local addresses
  • Implement application-level logging to capture all agent-initiated HTTP requests, including target URLs and response codes
  • Deploy web application firewall (WAF) rules to detect and block common SSRF payloads in agent configurations
  • Review agent configurations for suspicious OpenAPI specifications referencing internal endpoints

Monitoring Recommendations

  • Enable verbose logging for the Actions feature to capture all external service interactions and flag anomalous requests
  • Set up alerts for any HTTP requests from LibreChat targeting internal network segments or metadata services
  • Periodically audit agent configurations for unauthorized or suspicious OpenAPI specifications

How to Mitigate CVE-2025-69222

Immediate Actions Required

  • Upgrade LibreChat to version 0.8.2-rc2 or later immediately to receive the security fix
  • Review existing agent configurations and remove any that contain suspicious or unauthorized OpenAPI specifications
  • Implement network segmentation to isolate the LibreChat application from sensitive internal services
  • Configure firewall rules to restrict outbound connections from the LibreChat server to only necessary external endpoints

Patch Information

The vulnerability has been addressed in LibreChat version 0.8.2-rc2. The fix introduces restrictions on accessible services in the Actions feature. Users should upgrade to this version or later to remediate the vulnerability. The patch commit is available in the GitHub Commit Details, and the patched release can be downloaded from the GitHub Release v0.8.2-rc2. Additional details are available in the GitHub Security Advisory GHSA-rgjq-4q58-m3q8.

Workarounds

  • Implement network-level controls to block outbound requests from the LibreChat container to internal IP ranges and cloud metadata endpoints
  • Configure egress filtering to allowlist only specific external domains that agents are permitted to access
  • Disable or restrict the Actions feature entirely if it is not required for your deployment
  • Deploy LibreChat behind a reverse proxy with SSRF protection capabilities to validate and sanitize outbound requests
bash
# Example Docker Compose network isolation configuration
# Create a separate network for LibreChat with restricted access to internal services
docker network create --driver bridge --internal librechat-restricted

# Run LibreChat container with restricted network and explicit egress rules
docker run -d \
  --name librechat \
  --network librechat-restricted \
  --cap-drop=ALL \
  -e ALLOWED_DOMAINS="api.openai.com,api.anthropic.com" \
  librechat/librechat:v0.8.2-rc2

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechLibrechat

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Details

  • GitHub Release v0.8.2-rc2

  • GitHub Security Advisory GHSA-rgjq-4q58-m3q8
  • Related CVEs
  • CVE-2026-31943: LibreChat SSRF Vulnerability

  • CVE-2026-31945: Librechat SSRF Vulnerability

  • CVE-2026-31950: LibreChat Auth Bypass Vulnerability

  • CVE-2026-31951: LibreChat Information Disclosure Flaw
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