CVE-2025-27427
Apache ActiveMQ Artemis User Without Create Address Permissions can Modify Address Routing-Type
Description
A vulnerability exists in Apache ActiveMQ Artemis whereby a user with the createDurableQueue or createNonDurableQueue permission on an address can augment the routing-type supported by that address even if said user doesn't have the createAddress permission for that particular address. When combined with the send permission and automatic queue creation a user could successfully send a message with a routing-type not supported by the address when that message should actually be rejected on the basis that the user doesn't have permission to change the routing-type of the address.
This issue affects Apache ActiveMQ Artemis from 2.0.0 through 2.39.0.
Users are recommended to upgrade to version 2.40.0 which fixes the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.activemq » artemis-server | >= 2.0.0, < 2.40.0 | 2.40.0 |
Blast radius
60% of the dependent artifacts (238) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,138 |
| 2 hops | 5,479 |
| 3 hops | 2,161 |
| 4 hops | 1,300 |
| 5 hops | 712 |
| 6 hops | 1,106 |
Most used dependents
- org.wildfly » wildfly-feature-pack372 usages
- org.apache.activemq » artemis-maven-plugin148 usages
- org.apache.activemq » artemis-jms-server117 usages
- org.jboss.eap » wildfly-feature-pack88 usages
- org.apache.camel » camel-catalog87 usages
- org.apache.activemq » artemis-jakarta-server80 usages
- org.apache.activemq » artemis-cli60 usages
- org.apache.activemq » artemis-amqp-protocol58 usages
- net.corda » corda-node-api33 usages
- org.apache.activemq » artemis-junit32 usages
- org.wildfly » wildfly-dist31 usages
- org.wildfly » wildfly-galleon-pack31 usages
- net.corda » corda-rpc27 usages
- com.nablarch.framework » nablarch-testing27 usages
- org.apache.activemq » artemis-hornetq-protocol25 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.
References
| Advisory | NVD CVE-2025-27427 | nvd.nist.gov |
| Package | apache/activemq-artemis | github.com |
| Web | apache/activemq-artemis commit 2216a75 | github.com |
| Web | apache/activemq-artemis commit 6ab4580 | github.com |
| Web | jira/browse/ARTEMIS-5346 | issues.apache.org |
| Web | thread/8dzlm2vkqphyrnkrby8r8kzndsm5o6x8 | lists.apache.org |
| Web | lists/oss-security/2025/03/31/1 | openwall.com |
