Vulnerabilities in pkg:maven/org.apache.activemq/artemis-openwire-protocol
PACKAGECVE-2021-26118 is a HIGH (CVSS 7.5) apache activemq artemis vulnerable to vulnerability (CWE-284: Improper Access Control) affecting Artemis openwire protocol libraries in the Maven ecosystem. The issue involves apache activemq artemis vulnerable to improper access control. Remediation is available by upgrading affected packages to version 2.16.0.
pkg:maven/org.apache.activemq/artemis-openwire-protocol
Vulnerability advisories affecting package pkg:maven/org.apache.activemq/artemis-openwire-protocol. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-q7fr-vqhq-v5xr | CVE-2021-26118 | HIGH | Apache ActiveMQ Artemis vulnerable to Improper Access Control |
| GHSA-f4gc-mwrg-q36r | CVE-2026-32642 | LOW | Apache Artemis: Unauthorized Temporary Address Creation via OpenWire Protocol |
CVE-2021-26118 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2021-26118
To remediate this vulnerability, upgrade all affected Artemis openwire 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.activemq</groupId>
<artifactId>artemis-openwire-protocol</artifactId>
<version>2.16.0</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.activemq
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2021-26118, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.activemq
Analyze the terminal output to locate any version of Artemis openwire protocol in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.16.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.activemq 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Artemis openwire 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-2021-26118 Affected Artemis openwire protocol Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.activemq:artemis-openwire-protocol
|
Maven |
< 2.16.0
|
2.16.0
|
References
Frequently Asked Questions
What is CVE-2021-26118?
Which Artemis openwire protocol versions are affected?
What version fixes CVE-2021-26118?
Is artemis-openwire-protocol affected?
What is the CVSS score of CVE-2021-26118?
What CWE is associated with CVE-2021-26118?
How can I check Maven dependencies for CVE-2021-26118?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q7fr-vqhq-v5xr",
"modified" : "2026-07-07T13:33:16Z",
"published" : "2021-06-16T17:39:05Z",
"aliases" : [ "CVE-2021-26118" ],
"summary" : "Apache ActiveMQ Artemis vulnerable to Improper Access Control",
"details" : "While investigating ARTEMIS-2964 it was found that the creation of advisory messages in the OpenWire protocol head of Apache ActiveMQ Artemis 2.15.0 bypassed policy based access control for the entire session. Production of advisory messages was not subject to access control in error.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.activemq:artemis-openwire-protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.16.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-26118"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/activemq-artemis/commit/e5566d52116d81611d914548adc3cbb14d7118d4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/activemq-artemis"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rafd5d7cf303772a0118865262946586921a65ebd98fc24f56c812574%40%3Cannounce.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rafd5d7cf303772a0118865262946586921a65ebd98fc24f56c812574@%3Cannounce.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://mail-archives.apache.org/mod_mbox/activemq-users/202101.mbox/%3CCAH%2BvQmMUNnkiXv2-d3ucdErWOsdnLi6CgnK%2BVfixyJvTgTuYig%40mail.gmail.com%3E"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20210827-0002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284", "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-04-05T23:06:41Z",
"nvd_published_at" : "2021-01-27T19:15:00Z"
}
}