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-44838

CVE-2026-44838: RabbitMQ MQTT Auth Bypass Vulnerability

CVE-2026-44838 is an authentication bypass flaw in RabbitMQ's MQTT plugin that allows attackers to inject regex operators and bypass topic authorization. This article covers technical details, affected versions, and patches.

Published: May 28, 2026

CVE-2026-44838 Overview

CVE-2026-44838 is an authorization bypass vulnerability in the RabbitMQ MQTT plugin. The flaw affects RabbitMQ versions 4.2.0 through 4.2.3. RabbitMQ's MQTT plugin supports topic-level authorization using regular expressions with variable substitution, such as ^{client_id}-sensors$. The plugin inserts the user-supplied client_id from the MQTT CONNECT packet into the regex pattern without escaping special regex characters. An authenticated MQTT user can inject regex operators into the client_id field to broaden the matched pattern and access topics outside their authorized scope. The vulnerability is classified under [CWE-863]: Incorrect Authorization. Maintainers fixed the issue in RabbitMQ 4.2.4 and 4.3.0.

Critical Impact

An authenticated MQTT user can bypass topic-level authorization by injecting regex metacharacters into the client_id field, gaining unauthorized read or write access to MQTT topics belonging to other users.

Affected Products

  • RabbitMQ 4.2.0 through 4.2.3 (MQTT plugin enabled)
  • RabbitMQ deployments using regex-based topic authorization with {client_id} substitution
  • MQTT broker configurations relying on per-client topic isolation in RabbitMQ

Discovery Timeline

  • 2026-05-27 - CVE-2026-44838 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-44838

Vulnerability Analysis

The RabbitMQ MQTT plugin allows administrators to define topic authorization rules that include the placeholder {client_id}. When a client connects, the plugin substitutes the client-supplied identifier into the configured regex pattern before evaluating whether the user can publish or subscribe to a topic. The substitution occurs as a raw string replacement. Special regex metacharacters in the client_id are not escaped before insertion. This converts an attacker-controlled value into executable regex syntax inside the authorization decision path.

For a configured pattern such as ^{client_id}-sensors$, a benign client connecting with client_id=alice produces the expected regex ^alice-sensors$. A malicious client supplying a value containing regex operators alters the structure of the resulting pattern, allowing the matcher to accept topic names that the administrator intended to block.

Root Cause

The root cause is missing input sanitization at the boundary between untrusted user input and an authorization control expressed as a regular expression. The MQTT CONNECT packet's client_id field is interpolated directly into a regex string rather than being passed as a literal substring. Because the regex engine has no way to distinguish administrator-defined structure from user-injected metacharacters, the access control decision is influenced by the attacker.

Attack Vector

Exploitation requires valid MQTT credentials. The attacker connects to the broker over the network and supplies a crafted client_id value containing regex metacharacters such as .*, alternation |, or character classes. The forged identifier widens the matched topic space evaluated by the authorization engine. The attacker can then subscribe to or publish on topics outside the boundary the administrator defined. See the GitHub Security Advisory GHSA-x866-xp2g-cx8v for additional technical details.

Detection Methods for CVE-2026-44838

Indicators of Compromise

  • MQTT CONNECT packets containing client_id values with regex metacharacters such as ., *, +, |, (, ), [, ], ^, or $.
  • Authorization decisions in RabbitMQ logs that grant access to topics inconsistent with the user's expected scope.
  • Subscription or publish activity on sensitive topics from users that historically only interacted with their own client-scoped topic tree.

Detection Strategies

  • Audit RabbitMQ MQTT connection logs for client_id values that contain non-alphanumeric characters outside of an organization-approved naming scheme.
  • Compare the topics each authenticated user accesses against the expected pattern derived from their account identity.
  • Review the configured topic authorization regex patterns and flag any rule that uses {client_id} substitution without compensating controls.

Monitoring Recommendations

  • Enable verbose authorization logging on the MQTT plugin and forward events to a centralized log platform for correlation.
  • Alert on MQTT CONNECT events where the client_id length or character set deviates from baseline.
  • Track publish and subscribe operations per user and alert on access to topics outside their established pattern.

How to Mitigate CVE-2026-44838

Immediate Actions Required

  • Upgrade RabbitMQ to version 4.2.4 or 4.3.0, where the client_id value is properly escaped before regex substitution.
  • Inventory all MQTT topic authorization rules that use {client_id} substitution and review historical access logs for anomalous topic access.
  • Rotate MQTT credentials for any account observed using suspicious client_id values during the exposure window.

Patch Information

The RabbitMQ maintainers fixed CVE-2026-44838 in RabbitMQ 4.2.4 and 4.3.0. The patch escapes regex metacharacters in the client_id value before it is substituted into topic authorization patterns. Patch details and source-level fixes are documented in the GitHub Security Advisory GHSA-x866-xp2g-cx8v.

Workarounds

  • Restrict MQTT client_id values at the broker or upstream proxy to a strict alphanumeric character set, rejecting any identifier containing regex metacharacters.
  • Replace regex-based topic authorization rules that rely on {client_id} substitution with static per-user permissions where feasible.
  • Limit MQTT plugin exposure to trusted networks until the upgrade to a patched version is complete.
bash
# Example: enforce alphanumeric client_id at an upstream proxy or auth backend
# Reject MQTT CONNECT packets whose client_id contains regex metacharacters
client_id_regex='^[A-Za-z0-9_-]{1,64}$'
if [[ ! "$MQTT_CLIENT_ID" =~ $client_id_regex ]]; then
  echo "Rejecting connection: client_id contains disallowed characters"
  exit 1
fi

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechRabbitmq

  • SeverityMEDIUM

  • CVSS Score5.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:H/SI:H/SA:N/E:X/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-863
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44839: RabbitMQ Messaging Broker Vulnerability

  • CVE-2026-9133: RabbitMQ AWS Information Disclosure Flaw

  • CVE-2025-50200: RabbitMQ Information Disclosure Flaw

  • CVE-2022-31008: RabbitMQ 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