All vulnerabilities

Servers and applications

CVE-2026-67407

Incomplete fix for CVE-2026-44838: `escape_regex_char/1` does not escape `-`, leaving room for an MQTT topic permission bypass

Severity
Medium 5.1
Published
23 Jul 2026
Last changed
17 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.13.18, 4.0.23, 4.1.14, 4.2.9, 4.3.3
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Missing authorization (CWE-862)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/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
Also known as
GHSA-q46v-hrvq-hp24
Sources
NVD, Project advisories (GitHub)

Description

The CVE-2026-44838 fix made expand_topic_permission/2 escape regex metacharacters in expanded topic-permission variables (escape_regex(V)), but escape_regex_char/1 escapes \ ^ $ . | ? * + ( ) [ ] { } and omits -. When a topic permission template places {client_id} inside a [...] character class (e.g. ^[{client_id}]-sensors$), an MQTT client using client_id = a-z expands the regex to ^[a-z]-sensors$, turning the class into a range and broadening topic authorization to b-sensors, m-sensors, etc. The repository's own OAuth2 scope-expansion code explicitly escapes - for exactly this reason.

A low-privileged authenticated MQTT user controlling its client_id can broaden topic authorization (read and write) when templates embed {client_id} in a [...] class. Narrower than the original raw-regex injection (requires that template shape), but RabbitMQ supports regex topic permissions and its OAuth2 tests already treat this range class as security-relevant.

From rabbitmq/rabbitmq-server's security advisory.

Affected software

SoftwareAffected versions
RabbitMQServers and applications · cpe:a:broadcom:rabbitmq_server
  • From 4.0.0 before 4.0.23
  • From 4.1.0 before 4.1.14
  • From 4.2.0 before 4.2.9
  • From 4.3.0 before 4.3.3
RabbitMQServers and applications · github:rabbitmq/rabbitmq-server
  • From 3.13.13 before 3.13.18
  • From 4.0.0 before 4.0.23
  • From 4.1.0 before 4.1.14
  • From 4.2.0 before 4.2.9
  • From 4.3.0 before 4.3.3

About RabbitMQ

open source message broker, sometimes referred to as "Rabbit"

From Wikidata, CC0 1.0.
Docker Hub pulls
3,918,841,187Docker Hub, 15 Nov 2026
GitHub stars
13,973GitHub, 15 Nov 2026
Forks
4,032GitHub, 15 Nov 2026
Latest release
v4.4.0GitHub, 15 Nov 2026
Released
19 Oct 2026GitHub
Developer
Jean-Sébastien PédronWikidata
License
Mozilla Public License, version 2.0Wikidata
Written in
ErlangWikidata
First published on GitHub
20 Sept 2010GitHub

Release lines

ReleaseLatestSecurity fixes
4.44.4.0Until 31 Jul 2027
4.34.3.7Until 31 Jan 2027
4.24.2.9Ended 31 Jul 2026
4.14.1.8Ended 30 Jan 2026
4.04.0.9Ended 30 Apr 2025
3.133.13.7Ended 30 Sept 2024

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-67407
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-67407
  • GitHub Advisory Database https://github.com/advisories/GHSA-q46v-hrvq-hp24
  • github.com https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-q46v-hrvq-hp24