Vulnerabilities in pkg:maven/org.apache.artemis/artemis-stomp-protocol
PACKAGECVE-2026-40914 is a MODERATE (CVSS 4.3) apache artemis has an incorrect vulnerability (CWE-863: Incorrect Authorization) affecting Artemis stomp protocol libraries in the Maven ecosystem. The issue involves apache artemis has an incorrect authorization issue. Remediation is available by upgrading affected packages to version 2.54.0.
pkg:maven/org.apache.artemis/artemis-stomp-protocol
Vulnerability advisories affecting package pkg:maven/org.apache.artemis/artemis-stomp-protocol. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rf99-f9j2-gv3f | CVE-2026-40914 | MODERATE | Apache Artemis has an Incorrect Authorization issue |
CVE-2026-40914 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-40914
To remediate this vulnerability, upgrade all affected Artemis stomp protocol dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.artemis</groupId>
<artifactId>artemis-stomp-protocol</artifactId>
<version>2.54.0</version>
</dependency>
<dependency>
<groupId>org.apache.artemis</groupId>
<artifactId>artemis-stomp-protocol</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.artemis
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-40914, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.artemis
Analyze the terminal output to locate any version of Artemis stomp protocol in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.54.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.artemis command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Artemis stomp protocol, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-40914 Affected Artemis stomp protocol Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.artemis:artemis-stomp-protocol
|
Maven |
≥ 2.50.0
< 2.54.0
|
2.54.0
|
|
org.apache.artemis:artemis-stomp-protocol
|
Maven |
≥ 2.0.0
≤ 2.44.0
|
|
References
Frequently Asked Questions
What is CVE-2026-40914?
Which Artemis stomp protocol versions are affected?
What version fixes CVE-2026-40914?
Is artemis-stomp-protocol affected?
What is the CVSS score of CVE-2026-40914?
What CWE is associated with CVE-2026-40914?
How can I check Maven dependencies for CVE-2026-40914?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rf99-f9j2-gv3f",
"modified" : "2026-07-02T13:53:04Z",
"published" : "2026-05-28T15:39:50Z",
"aliases" : [ "CVE-2026-40914" ],
"summary" : "Apache Artemis has an Incorrect Authorization issue",
"details" : "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.\n\nThis issue affects Apache Artemis: from 2.50.0 through 2.53.0; Apache ActiveMQ Artemis: from 2.0.0 through 2.44.0.\n\nUsers are recommended to upgrade to version 2.54.0, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.artemis:artemis-stomp-protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.50.0"
}, {
"fixed" : "2.54.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.53.0"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.artemis:artemis-stomp-protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "2.44.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40914"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/artemis/pull/6395"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/artemis/commit/53173375c4d5e4b57890e89d37ed8b666c974474"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/artemis"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/ARTEMIS-5996"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/6q3st8dlorz2q05svqn11k1xl7jkmm4c"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/05/27/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-02T13:53:04Z",
"nvd_published_at" : "2026-05-28T13:16:23Z"
}
}