CVE-2026-108946
Apache ActiveMQ, ActiveMQ Broker: The broker does not verify user provided connection id matches connection
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)
| Artifact | Affected versions | Fixed 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
75% of the dependent artifacts (1,672) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.activemq » activemq-kahadb-store236 usages
- org.apache.activemq » activemq-all234 usages
- org.apache.activemq » activemq-camel206 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- org.apache.tomee » openejb-core193 usages
- org.wso2.carbon.automation » org.wso2.carbon.automation.extensions159 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.openejb » openejb-core148 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.extensions144 usages
- org.apache.activemq » activemq-spring130 usages
- com.atlassian.bamboo » atlassian-bamboo-core127 usages
- org.springframework.cloud.stream.app » app-starters-test-support127 usages
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.
