Description
Improper input validation vulnerability in Apache ActiveMQ, Apache ActiveMQ KahaDB.
The ActiveMQ broker resolves connection, session and consumer state from ids that are user provided and in some scenarios does not validate that they ids are bound to that user. This allows an authenticated client to spoof another user's ids. This allows:
* an authenticated client consumes from another connection's temporary queue/topic by putting the victim's connection id in its own ConsumerId, bypassing the broker-side ownership check.
* a duplicate ConsumerId registration is only logged, after which the attacker's RemoveInfo or disconnect tears down the victim's live subscription
* a forged MessageAck for the victim's ConsumerId permanently deletes an in-flight, unacknowledged message.
This issue affects Apache ActiveMQ: from 6.0.0 before 6.3.3, before 5.19.12; Apache ActiveMQ KahaDB: from 6.0.0 before 6.3.3, before 5.19.12.
Users are recommended to upgrade to version 6.4.0, 6.3.3, or 5.19.12, which fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache ActiveMQ | 6.0.0 – < 6.3.3, < 5.19.12 | 6.3.3 |
| Apache Software Foundation | ActiveMQ Broker | 6.0.0 – < 6.3.3, < 5.19.12 | 6.3.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | activemq | No fix yet | — |
| Debian 12 | activemq | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | activemq | No fix yet | — |
| Ubuntu 26.04 LTS | activemq | No fix yet | — |
| Ubuntu 24.04 LTS | activemq | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | activemq | No fix yet | — |
| Ubuntu Pro 20.04 LTS | activemq | No fix yet | — |
| Ubuntu Pro 18.04 LTS | activemq | No fix yet | — |
| Ubuntu Pro 16.04 LTS | activemq | No fix yet | — |
Advisories 1
- WID-SEC-2026-4348 Apache ActiveMQ: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026
References
- https://lists.apache.org/thread/0spj0m846vhw3cjyfmzsy3l8vxh6f5t6 vendor-advisory