CVE-2026-40914: Artemis stomp protocol Apache Artemis Has An Incorrect Vulnerability

MODERATE
Advisory Identifier: GHSA-rf99-f9j2-gv3f
CVSS 4.3
CWE-863
Published
Advisory Summary

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

CVE-2026-40914 at a Glance

CVE Identifier CVE-2026-40914
GHSA Identifier GHSA-rf99-f9j2-gv3f
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-863: Incorrect Authorization
Affected Product Artemis stomp protocol
Package Ecosystem Maven
Published Date
Last Updated

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (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.

org.apache.artemis:artemis-stomp-protocol fixed: 2.54.0
<dependency>
    <groupId>org.apache.artemis</groupId>
    <artifactId>artemis-stomp-protocol</artifactId>
    <version>2.54.0</version>
</dependency>
org.apache.artemis:artemis-stomp-protocol fixed: Latest secure release
<dependency>
    <groupId>org.apache.artemis</groupId>
    <artifactId>artemis-stomp-protocol</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2026-40914 Affected Artemis stomp protocol Versions

2 component(s)
Fixed Versions:
2.54.0
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?
CVE-2026-40914 is a security vulnerability in Artemis stomp protocol involving Apache Artemis has an Incorrect Authorization issue under CWE-863: Incorrect Authorization.
Which Artemis stomp protocol versions are affected?
Affected versions include releases prior to 2.54.0 across affected packages: org.apache.artemis:artemis-stomp-protocol.
What version fixes CVE-2026-40914?
Upgrading to 2.54.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is artemis-stomp-protocol affected?
Yes, org.apache.artemis:artemis-stomp-protocol is affected in releases prior to 2.54.0, Latest secure release. Upgrade your dependency to 2.54.0, Latest secure release or later.
What is the CVSS score of CVE-2026-40914?
CVE-2026-40914 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-40914?
CVE-2026-40914 is classified under CWE-863: Incorrect Authorization (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.).
How can I check Maven dependencies for CVE-2026-40914?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.artemis'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}