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-2026-32696

CVE-2026-32696: NanoMQ MQTT Broker DoS Vulnerability

CVE-2026-32696 is a denial of service flaw in NanoMQ MQTT Broker that causes a crash when HTTP authentication receives null credentials. This article covers the technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2026-32696 Overview

CVE-2026-32696 is a Null Pointer Dereference vulnerability affecting NanoMQ MQTT Broker, an all-around Edge Messaging Platform. The vulnerability exists in NanoMQ version 0.24.6 when HTTP authentication (auth.http_auth) is enabled. When a client connects to the broker using MQTT CONNECT without providing username/password credentials, and the configuration uses placeholder parameters %u or %P for username and password respectively, the HTTP request construction phase enters auth_http.c:set_data(). This results in calling strlen() on a NULL pointer, causing a SIGSEGV crash that can be triggered remotely, resulting in a denial of service condition.

Critical Impact

Remote attackers can crash the NanoMQ MQTT broker by sending MQTT CONNECT packets without credentials when HTTP authentication is configured with placeholder parameters, causing service disruption for all connected IoT devices and edge messaging clients.

Affected Products

  • NanoMQ MQTT Broker version 0.24.6
  • NanoMQ deployments with auth.http_auth enabled
  • Configurations using %u or %P placeholders for HTTP authentication

Discovery Timeline

  • 2026-03-30 - CVE-2026-32696 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-32696

Vulnerability Analysis

This vulnerability is classified as CWE-476 (NULL Pointer Dereference). The flaw resides in the HTTP authentication handling code within the auth_http.c source file. When NanoMQ is configured to use HTTP-based authentication with placeholder variables for username (%u) and password (%P), the broker expects these values to be populated from incoming MQTT CONNECT packets.

The vulnerable code path is triggered when a client initiates an MQTT connection without supplying authentication credentials. In this scenario, the username and password fields remain NULL. When the set_data() function attempts to construct the HTTP authentication request, it calls strlen() on these NULL pointers without first validating that they contain valid data. This results in a segmentation fault (SIGSEGV) that immediately terminates the broker process.

The vulnerability requires network access and specific configuration conditions—namely that HTTP authentication must be enabled with placeholder parameters. While the attack complexity is higher due to these prerequisites, the impact is significant for affected deployments as it allows unauthenticated remote attackers to crash the messaging broker.

Root Cause

The root cause is improper input validation in the set_data() function within auth_http.c. The function fails to check whether the username and password pointers are NULL before passing them to strlen(). When these values are absent from an MQTT CONNECT packet, the NULL pointers are dereferenced, causing the application to crash. The fix implemented in version 0.24.7 adds proper NULL checks before string operations are performed on authentication credentials.

Attack Vector

The attack vector is network-based. An attacker can exploit this vulnerability by:

  1. Identifying a NanoMQ broker instance with HTTP authentication enabled using placeholder configuration
  2. Establishing a TCP connection to the MQTT broker port (typically 1883 or 8883)
  3. Sending a malformed MQTT CONNECT packet that omits username and password fields
  4. The broker's HTTP authentication handler attempts to process the empty credentials
  5. The strlen() call on NULL pointer causes SIGSEGV, crashing the broker service

The vulnerability manifests in the auth_http.c:set_data() function during HTTP request construction. When placeholder parameters %u (username) and %P (password) are configured, the code expects these values to be substituted with actual credentials from the MQTT CONNECT packet. Without proper NULL validation, absent credentials trigger the crash. See the GitHub Security Advisory GHSA-77f4-wvq8-mp3p for additional technical details.

Detection Methods for CVE-2026-32696

Indicators of Compromise

  • Unexpected NanoMQ broker process terminations with SIGSEGV signals in system logs
  • Core dump files indicating crashes in auth_http.c or related authentication functions
  • Multiple MQTT connection attempts from suspicious sources without credentials
  • Service availability interruptions correlating with incoming MQTT traffic

Detection Strategies

  • Monitor system logs for NanoMQ segmentation fault (signal 11) events
  • Implement network intrusion detection rules to flag MQTT CONNECT packets without authentication fields targeting systems with HTTP auth enabled
  • Configure process monitoring to alert on unexpected NanoMQ daemon restarts
  • Review MQTT broker access logs for connection attempts lacking username/password fields

Monitoring Recommendations

  • Enable verbose logging for NanoMQ authentication subsystem to capture failed auth attempts
  • Deploy watchdog services to automatically restart crashed broker instances and alert administrators
  • Implement network-level monitoring for anomalous MQTT traffic patterns
  • Configure centralized log aggregation to correlate crash events with connection attempts

How to Mitigate CVE-2026-32696

Immediate Actions Required

  • Upgrade NanoMQ to version 0.24.7 or later immediately
  • If immediate upgrade is not possible, consider temporarily disabling HTTP authentication or enforcing credentials at the network level
  • Review NanoMQ configuration to identify use of %u and %P placeholders
  • Implement network access controls to limit MQTT broker exposure to trusted clients only

Patch Information

The vulnerability has been patched in NanoMQ version 0.24.7. The fix is available through the GitHub Release v0.24.7. The patch adds proper NULL pointer validation before string operations are performed on authentication credentials. Technical details of the fix can be reviewed in GitHub Pull Request #1394 and the GitHub Commit Update.

Workarounds

  • Temporarily disable HTTP authentication (auth.http_auth) if the feature is not critical to operations
  • Place NanoMQ behind a reverse proxy or firewall that validates MQTT credentials before forwarding
  • Configure network ACLs to restrict broker access to authenticated network segments only
  • Use alternative authentication mechanisms that do not rely on placeholder parameter substitution
bash
# Configuration example - Restrict MQTT broker access via firewall
# Allow only trusted networks to access NanoMQ MQTT port
iptables -A INPUT -p tcp --dport 1883 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 1883 -j DROP

# Or temporarily disable HTTP auth in nanomq.conf until upgrade
# Comment out or remove the http_auth configuration section
# auth.http_auth = false

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNanomq

  • SeverityLOW

  • CVSS Score3.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-476
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request #1394

  • GitHub Release v0.24.7

  • GitHub Security Advisory GHSA-77f4-wvq8-mp3p
  • Related CVEs
  • CVE-2025-68699: NanoMQ MQTT Broker DOS Vulnerability

  • CVE-2024-48077: NanoMQ Denial of Service Vulnerability

  • CVE-2026-34608: NanoMQ MQTT Broker Buffer Overflow Flaw

  • CVE-2026-21888: NanoMQ MQTT Broker Buffer Overflow Flaw
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