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
    • 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-7644

CVE-2026-7644: NextChat Auth Bypass Vulnerability

CVE-2026-7644 is an authentication bypass vulnerability in ChatGPTNextWeb NextChat up to version 2.16.1 caused by improper authorization in the addMcpServer function. This article covers technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-7644 Overview

CVE-2026-7644 is an improper authorization vulnerability in ChatGPTNextWeb NextChat versions up to 2.16.1. The flaw resides in the addMcpServer function within app/mcp/actions.ts, which fails to enforce proper authorization checks. Remote attackers can manipulate this function to register Model Context Protocol (MCP) servers without adequate permission validation. The vulnerability has been publicly disclosed, and exploit details are available. The maintainers were notified through a GitHub issue but have not responded at the time of disclosure, leaving deployments exposed [CWE-266].

Critical Impact

Remote attackers can abuse the addMcpServer action to bypass authorization controls in NextChat, affecting confidentiality, integrity, and availability of the application.

Affected Products

  • ChatGPTNextWeb NextChat versions up to and including 2.16.1
  • Deployments exposing the app/mcp/actions.tsaddMcpServer endpoint
  • Self-hosted NextChat instances reachable over the network

Discovery Timeline

  • 2026-05-02 - CVE-2026-7644 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-7644

Vulnerability Analysis

NextChat is a cross-platform ChatGPT client that supports the Model Context Protocol (MCP) for integrating external tools and data sources. The addMcpServer function in app/mcp/actions.ts allows callers to register new MCP server entries within the application. The function does not verify whether the caller is authorized to perform server registration. As a result, unauthenticated remote actors can invoke this server action and add arbitrary MCP server configurations.

Improper authorization in MCP-related actions can have downstream consequences. MCP servers act as trusted tool providers within the NextChat runtime. Adding unauthorized servers can influence which tools the assistant invokes, what data it forwards, and how it processes user prompts. The issue maps to CWE-266 (Incorrect Privilege Assignment).

Root Cause

The root cause is missing or inadequate authorization logic inside the addMcpServer server action. The function executes the privileged registration operation without validating the caller's identity, role, or session context. Any client able to reach the endpoint can trigger the action.

Attack Vector

The attack is network-based and requires no authentication, no privileges, and no user interaction. An attacker sends a crafted request to the NextChat backend invoking the addMcpServer server action with attacker-controlled MCP server parameters. Public exploitation details have been released through VulDB and the upstream GitHub issue tracker. See the GitHub Issue #6757 and VulDB Vulnerability #360756 for technical specifics. No verified proof-of-concept code is reproduced here.

Detection Methods for CVE-2026-7644

Indicators of Compromise

  • Unexpected MCP server entries appearing in NextChat configuration or persistent storage
  • Outbound connections from the NextChat host to unfamiliar MCP endpoints or domains
  • Unauthenticated POST requests to NextChat server actions corresponding to addMcpServer
  • Anomalous tool invocations within chat sessions referencing newly added MCP integrations

Detection Strategies

  • Inspect application logs for invocations of the addMcpServer action originating from sessions without authenticated users.
  • Diff stored MCP server lists against a known-good baseline and alert on additions that lack a corresponding administrative change ticket.
  • Monitor reverse proxy or web application firewall logs for direct calls to NextChat server action endpoints from external IP addresses.

Monitoring Recommendations

  • Forward NextChat application logs and host network telemetry to a centralized analytics platform for correlation and retention.
  • Alert on new outbound connections from the NextChat process to non-allowlisted MCP server hosts.
  • Track changes to app/mcp/ configuration files using file integrity monitoring.

How to Mitigate CVE-2026-7644

Immediate Actions Required

  • Restrict network exposure of NextChat instances to trusted users via VPN, reverse-proxy authentication, or IP allowlisting.
  • Disable or remove the MCP feature in deployments that do not require it until an upstream fix is available.
  • Audit existing MCP server registrations and remove any entries that cannot be attributed to authorized administrators.
  • Rotate any API keys, tokens, or credentials accessible to the NextChat process if unauthorized MCP servers were detected.

Patch Information

No official patch is available at the time of publication. According to the CVE record, the upstream project was notified through a GitHub issue but has not yet responded. Track the NextChat GitHub repository and Issue #6757 for fix announcements, and upgrade beyond version 2.16.1 once a patched release is published.

Workarounds

  • Place NextChat behind an authenticating reverse proxy that blocks unauthenticated requests to server action routes.
  • Apply a custom authorization check to the addMcpServer handler in app/mcp/actions.ts that validates session ownership and administrative role before executing registration.
  • Operate NextChat in single-user or local-only mode where remote network access to server actions is not exposed.
  • Egress-filter the NextChat host so it can only reach approved MCP server destinations.
bash
# Example reverse-proxy restriction (nginx) limiting MCP action access to an internal subnet
location /api/mcp/ {
    allow 10.0.0.0/8;
    deny all;
    proxy_pass http://nextchat_upstream;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechChatgptnextweb

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-266
  • Technical References
  • GitHub NextChat Repository

  • GitHub Issue #6757

  • VulDB Submission #806851

  • VulDB Vulnerability #360756

  • VulDB CTI for #360756
  • Related CVEs
  • CVE-2026-7643: ChatGPTNextWeb NextChat RCE Vulnerability

  • CVE-2026-7178: ChatGPTNextWeb NextChat SSRF Vulnerability

  • CVE-2026-7177: ChatGPTNextWeb NextChat 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