All vulnerabilities

Servers and applications

GHSA-5jgm-jxp7-gwjh

MQTT retained message store has no size or count limit and is never reclaimed

Severity
Medium 6.0
Published
18 Sept 2026
Last changed
18 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.13.20, 4.0.25, 4.1.16, 4.2.11, 4.3.6
Weakness
Uncontrolled resource consumption (CWE-400)Allocation without limits (CWE-770)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

Any authenticated MQTT client with ordinary write permission can retain-publish to unlimited distinct topics. The retained store has no count or size cap, is held in resident memory, and is never reclaimed; it survives restart and cannot be enumerated or bulk-purged. Filling it latches the node's memory alarm permanently, after which no MQTT client can connect at all.

insert/3 is an unconditional write: no count check, no size check, and no config setting exists to add one (max_retained and equivalents do not exist anywhere in the plugin or its schema):

The default DETS backend is opened {ram_file, true}, keeping contents resident.

The store exports only start/insert/lookup/delete/expire/terminate. delete/2 needs an exact topic name; there is no enumeration, no bulk purge, and no management API or UI surface. The only expiry is MQTT 5's Message Expiry Interval — client-supplied and optional, so an attacker omits it.

From rabbitmq/rabbitmq-server's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
RabbitMQServers and applications · github:rabbitmq/rabbitmq-server
  • From 3.13.0 before 3.13.20
  • From 4.0.0 before 4.0.25
  • From 4.1.0 before 4.1.16
  • From 4.2.0 before 4.2.11
  • From 4.3.0 before 4.3.6

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