CVE-2026-40914 Apache Artemis has an Incorrect Authorization issue

Medium 4.3 Published Updated

STOMP users with send or consume permissions can modify address routing types without createAddress permission, allowing unauthorized configuration changes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40914?

CVE-2026-40914 is a medium-severity missing authorization vulnerability in Apache ActiveMQ Artemis Stomp Protocol, published on 28 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863

Which versions are affected by CVE-2026-40914?

4 open source packages ship an affected version, including org.apache.artemis:artemis-stomp-protocol. It affects 1 product.

PackageAffectedFixed in
org.apache.artemis:artemis-stomp-protocol MavenFrom 2.0.0 to 2.44.0None
org.apache.artemis:artemis-stomp-protocol MavenFrom 2.0.0 to 2.44.0None
org.apache.artemis:artemis-stomp-protocol MavenFrom 2.50.02.54.0
org.apache.artemis:artemis-stomp-protocol MavenFrom 2.50.02.54.0

Products include Apache Artemis.

How do I fix CVE-2026-40914?

Upgrade org.apache.artemis:artemis-stomp-protocol to 2.54.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-40914 being exploited?

There is no known exploitation of CVE-2026-40914 in the wild and no public exploit code.

Sources

Also known as GHSA-rf99-f9j2-gv3f, MINI-785r-476q-mh84, MINI-pqc8-2343-c6w6.

Is CVE-2026-40914 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free