CVE-2026-108946

Apache ActiveMQ, ActiveMQ Broker: The broker does not verify user provided connection id matches connection

Medium published · updated

6.5
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

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 and versions

Product / packageEcosystem / vendorVersionsFixed inSource
org.apache.activemq:apache-activemq maven 6.0.0 → <6.3.3; 0 → <5.19.125.19.12 CVE.org
apache activemq apache software foundation 6.0.0 → <6.3.3; 0 → <5.19.125.19.12 CVE.org
org.apache.activemq:activemq-broker maven 6.0.0 → <6.3.3; 0 → <5.19.125.19.12 CVE.org
activemq broker apache software foundation 6.0.0 → <6.3.3; 0 → <5.19.125.19.12 CVE.org

References