CVE-2026-40914
Apache Artemis has an Incorrect Authorization issue
Description
A vulnerability exists in Apache Artemis whereby an application using the STOMP protocol with security credentials that grant either the consume or send 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. A user could successfully send a message to an address or consume a message from a queue with a routing-type not supported by the corresponding address when that operation should actually be rejected on the basis that the user doesn't have permission to change the routing-type of the address. Even though the user was already granted permission to send and/or consume messages, they should not be able to augment the routing-type of the address without the createAddress permission.
This issue affects Apache Artemis: from 2.50.0 through 2.53.0; Apache ActiveMQ Artemis: from 2.0.0 through 2.44.0.
Users are recommended to upgrade to version 2.54.0, which fixes the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.artemis » artemis-stomp-protocol | >= 2.0.0, <= 2.44.0>= 2.50.0, < 2.54.0 | 2.54.0 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7 |
| 2 hops | 7 |
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.
References
| Advisory | NVD CVE-2026-40914 | nvd.nist.gov |
| Package | apache/artemis | github.com |
| Web | apache/artemis pull request #6395 | github.com |
| Web | apache/artemis commit 5317337 | github.com |
| Web | jira/browse/ARTEMIS-5996 | issues.apache.org |
| Web | thread/6q3st8dlorz2q05svqn11k1xl7jkmm4c | lists.apache.org |
| Web | lists/oss-security/2026/05/27/8 | openwall.com |
