Skip to main content
Vulnerability Database/CVE-2026-67234

CVE-2026-67234: RabbitMQ Auth Bypass Vulnerability

CVE-2026-67234 is an authentication bypass vulnerability in RabbitMQ messaging broker that causes stale authentication preferences to persist across sessions. This article covers technical details, affected versions, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-67234 Overview

CVE-2026-67234 is a low-severity input validation flaw [CWE-20] in the RabbitMQ messaging and streaming broker. The vulnerability affects the management plugin's OAuth bootstrap component, where get_auth_mechanism/1 incorrectly used term_to_binary/1 on the strict_auth_mechanism or preferred_auth_mechanism atom when clearing the corresponding cookie. This produces a non-ASCII cookie name that violates RFC 6265 and can prevent the browser from deleting the preference. The issue affects versions from 4.2.0 up to 4.2.8 and 4.3.2, and is fixed in RabbitMQ 4.2.8 and 4.3.2.

Critical Impact

The flaw is not directly exploitable for code execution or data exfiltration. Its security relevance is limited to stale authentication-mechanism preferences persisting across logout and login cycles.

Affected Products

  • RabbitMQ Server versions 4.2.0 through 4.2.7
  • RabbitMQ Server version 4.3.0 and 4.3.1
  • RabbitMQ Management Plugin (rabbitmq_management) in affected versions

Discovery Timeline

  • 2026-09-25 - CVE-2026-67234 published to NVD
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-67234

Vulnerability Analysis

The vulnerability resides in deps/rabbitmq_management/src/rabbit_mgmt_oauth_bootstrap.erl within the RabbitMQ management plugin. When clearing an authentication-mechanism cookie, the code called term_to_binary/1 on an Erlang atom. This serialization function returns the Erlang External Term Format representation of the atom, not its textual name. The resulting binary contains non-ASCII bytes used as the cookie name, violating the token grammar defined in RFC 6265.

Browsers that reject the malformed Set-Cookie header will not clear the original cookie. As a result, previously set authentication-mechanism preferences persist across logout and login cycles. The impact is limited to UI state consistency within the management console.

Root Cause

The root cause is improper input handling [CWE-20] when constructing an HTTP response header. The code mistakenly used binary serialization (term_to_binary/1) where atom-to-string conversion (atom_to_binary/1) was required. This produces a cookie name that does not conform to the RFC 6265 token syntax.

Attack Vector

Exploitation requires user interaction with the RabbitMQ management UI. A malicious or crafted request path could cause the server to emit the malformed cookie, but the resulting condition does not grant access, disclose data, or allow code execution. The practical effect is that stale strict_auth_mechanism or preferred_auth_mechanism values remain stored in the browser.

erlang
                     end;
                 Val -> {Req, {strict_auth_mechanism, Val}}
             end;
-        {Type, _} = Auth -> { cowboy_req:set_resp_cookie(term_to_binary(Type),
+        {Type, _} = Auth -> { cowboy_req:set_resp_cookie(atom_to_binary(Type),
                                     <<"">>, Req, #{
                                         max_age => 0,
                                         http_only => true,

Source: RabbitMQ Commit 149cb59

The patch replaces term_to_binary(Type) with atom_to_binary(Type), producing a valid ASCII cookie name that browsers accept and clear correctly.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-67234

Indicators of Compromise

  • Presence of Set-Cookie response headers from the RabbitMQ management plugin containing non-ASCII bytes in the cookie name field.
  • Persistent authentication-mechanism preferences in client browsers that survive logout from the RabbitMQ management console.
  • RabbitMQ server versions reporting 4.2.0 through 4.2.7, 4.3.0, or 4.3.1 in deployment inventories.

Detection Strategies

  • Inventory all RabbitMQ broker instances and compare reported versions against the fixed releases 4.2.8 and 4.3.2.
  • Inspect HTTP traffic to the management plugin for Set-Cookie headers that fail RFC 6265 token validation.
  • Review web proxy or WAF logs for cookie-related parsing errors originating from RabbitMQ management endpoints.

Monitoring Recommendations

  • Add RabbitMQ version banners to configuration monitoring to flag out-of-date brokers.
  • Monitor the RabbitMQ GitHub security advisories feed for new releases in the 4.2.x and 4.3.x branches.
  • Track authentication-mechanism telemetry from the management plugin to detect unexpected persistence of preferences.

How to Mitigate CVE-2026-67234

Immediate Actions Required

  • Upgrade RabbitMQ to version 4.2.8 or 4.3.2, which contain the corrected atom_to_binary/1 call.
  • Instruct administrators who use the management UI to clear their browser cookies for the RabbitMQ host after upgrade.
  • Restrict network exposure of the management plugin to trusted administrative networks.

Patch Information

The fix is included in RabbitMQ Release 4.2.8 and RabbitMQ Release 4.3.2. The code change is documented in commits 149cb59 and baac0aa. Full advisory details are available in GHSA-q286-p3m9-j69f.

Workarounds

  • Disable the rabbitmq_management plugin on brokers that do not require the web UI until an upgrade is possible.
  • Place the management plugin behind an authenticated reverse proxy that enforces cookie name validation.
  • Advise users to manually clear site data for the RabbitMQ management host between sessions to remove stale authentication-mechanism preferences.
bash
# Disable the RabbitMQ management plugin as a temporary measure
rabbitmq-plugins disable rabbitmq_management

# Verify installed broker version
rabbitmqctl version

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.