MODERATE 6.5

CVE-2026-108946

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

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.activemq » activemq-brokerpreliminary
< 5.19.12>= 6.0.0, < 6.3.3
5.19.12, 6.3.3
org.apache.activemq » apache-activemqpreliminary
< 5.19.12>= 6.0.0, < 6.3.3
5.19.12, 6.3.3

Blast radius

2affected artifacts
961affected versions
2,204dependent artifacts (est.)
271,999dependent versions

75% of the dependent artifacts (1,672) still pull an affected version in their latest release.

DepthDependent versions
Direct
26,560
2 hops
76,418
3 hops
117,828
4 hops
37,670
5 hops
11,991
6 hops
1,532

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.