# CVE-2021-26117: ActiveMQ: LDAP-Authentication does not verify passwords on servers with anonymous bind

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 11.07% (percentile 97, 2026-11-28)
- **CWE:** CWE-287
- **Aliases:** BIT-activemq-2021-26117, GHSA-9mgm-gcq8-86wq
- **Published:** 2021-01-27T00:00:00.000Z
- **Modified:** 2026-06-17T03:42:53.527Z

## Who should check

- Projects that depend on Maven package org.apache.activemq:activemq-parent (\>= 5.16.0, \< 5.16.1)
- Projects that depend on Maven package org.apache.activemq:apache-artemis (\< 2.16.0)
- Anyone running Apache Software Foundation Apache ActiveMQ \>= Apache ActiveMQ Artemis, \< 2.16.0; \>= Apache ActiveMQ, \< 5.16.1

## Description

The optional ActiveMQ LDAP login module can be configured to use anonymous access to the LDAP server. In this case, for Apache ActiveMQ Artemis prior to version 2.16.0 and Apache ActiveMQ prior to versions 5.16.1 and 5.15.14, the anonymous context is used to verify a valid users password in error, resulting in no check on the password.

## Affected and fixed versions

- Maven `org.apache.activemq:activemq-parent`: affected \>= 5.16.0, \< 5.16.1; fixed 5.16.1, 5.15.14 (osv)
- Maven `org.apache.activemq:apache-artemis`: affected \< 2.16.0; fixed 2.16.0 (osv)
- Apache Software Foundation Apache ActiveMQ: \>= Apache ActiveMQ Artemis, \< 2.16.0; \>= Apache ActiveMQ, \< 5.16.1 (cvelist)

## Mitigation

- Upgrade org.apache.activemq:activemq-parent to one of 5.16.1, 5.15.14 (or later in the same release line).
- Upgrade org.apache.activemq:apache-artemis to 2.16.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-26117. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-26117.md
Affected: org.apache.activemq:activemq-parent >= 5.16.0, < 5.16.1; org.apache.activemq:apache-artemis < 2.16.0
Fixed in: 5.16.1, 5.15.14, 2.16.0

Steps:
1. Search this machine and project for org.apache.activemq:activemq-parent (Maven), org.apache.activemq:apache-artemis (Maven), Apache Software Foundation Apache ActiveMQ: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-26117 being exploited?

There is no confirmed exploitation: CVE-2021-26117 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 11.07% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2021-26117?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2021-26117?

org.apache.activemq:activemq-parent \>= 5.16.0, \< 5.16.1; org.apache.activemq:apache-artemis \< 2.16.0.

### Is there a fix for CVE-2021-26117?

Yes. Fixed in 5.16.1, 5.15.14, 2.16.0. Upgrade org.apache.activemq:activemq-parent to one of 5.16.1, 5.15.14 (or later in the same release line). Upgrade org.apache.activemq:apache-artemis to 2.16.0 or later.

### How do I check if I'm affected by CVE-2021-26117?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-26117>
- patch: <https://www.oracle.com//security-alerts/cpujul2021.html>
- patch: <https://www.oracle.com/security-alerts/cpuoct2021.html>
- patch: <https://github.com/apache/activemq/commit/46a774c>
- patch: <https://github.com/apache/activemq/commit/73e291693d59a96c0054fc7e7e09c2c67b192911>
- other: <https://mail-archives.apache.org/mod_mbox/activemq-users/202101.mbox/%3cCAH+vQmMeUEiKN4wYX9nLBbqmFZFPXqajNvBKmzb2V8QZANcSTA%40mail.gmail.com%3e>
- other: <https://lists.apache.org/thread.html/rffa5cd05d01c4c9853b17f3004d80ea6eb8856c422a8545c5f79b1a6%40%3Ccommits.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/re1b98da90a5f2e1c2e2d50e31c12e2578d61fe01c0737f9d0bd8de99%40%3Cannounce.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r946488fb942fd35c6a6e0359f52504a558ed438574a8f14d36d7dcd7%40%3Ccommits.activemq.apache.org%3E>
- other: <https://lists.debian.org/debian-lts-announce/2021/03/msg00005.html>
- other: <https://lists.apache.org/thread.html/r70389648227317bdadcdecbd9f238571a6047469d156bd72bb0ca2f7%40%3Cgitbox.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r5899ece90bcae5805ad6142fdb05c58595cff19cb2e98cc58a91f55b%40%3Cgitbox.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rec93794f8aeddf8a5f1a643d264b4e66b933f06fd72a38f31448f0ac%40%3Cgitbox.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rd75600cee29cb248d548edcf6338fe296466d63a69e2ed0afc439ec7%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/raea451de09baed76950d6a60cc4bb1b74476c505e03205a3c68c9808%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r110cacfa754471361234965ffe851a046e302ff2693b055f49f47b02%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r22cdc0fb45e223ac92bc2ceff7af92f1193dfc614c8b248534456229%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r3341d96d8f956e878fb7b463b08d57ca1d58fec9c970aee929b58e0d%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r519bfafd67091d0b91243efcb1c49b1eea27321355ba5594f679277d%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rd05b1c9d61dbd220664d559aa0e2b55e5830f006a09e82057f3f7863%40%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/ra255ddfc8b613b80e9fa22ff3e106168b245f38a22316bfb54d21159%40%3Cissues.activemq.apache.org%3E>
- other: <https://www.oracle.com/security-alerts/cpuApr2021.html>
- other: <https://security.netapp.com/advisory/ntap-20210304-0008/>
- other: <https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html>
- other: <https://issues.apache.org/jira/browse/AMQ-8035>
- other: <https://lists.apache.org/thread.html/rd05b1c9d61dbd220664d559aa0e2b55e5830f006a09e82057f3f7863@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rd75600cee29cb248d548edcf6338fe296466d63a69e2ed0afc439ec7@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/re1b98da90a5f2e1c2e2d50e31c12e2578d61fe01c0737f9d0bd8de99@%3Cannounce.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rec93794f8aeddf8a5f1a643d264b4e66b933f06fd72a38f31448f0ac@%3Cgitbox.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rffa5cd05d01c4c9853b17f3004d80ea6eb8856c422a8545c5f79b1a6@%3Ccommits.activemq.apache.org%3E>
- other: <https://mail-archives.apache.org/mod_mbox/activemq-users/202101.mbox/%3cCAH+vQmMeUEiKN4wYX9nLBbqmFZFPXqajNvBKmzb2V8QZANcSTA@mail.gmail.com%3e>
- other: <https://security.netapp.com/advisory/ntap-20210304-0008>
- other: <https://issues.apache.org/jira/browse/ARTEMIS-2895>
- other: <https://lists.apache.org/thread.html/r110cacfa754471361234965ffe851a046e302ff2693b055f49f47b02@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r22cdc0fb45e223ac92bc2ceff7af92f1193dfc614c8b248534456229@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r3341d96d8f956e878fb7b463b08d57ca1d58fec9c970aee929b58e0d@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r519bfafd67091d0b91243efcb1c49b1eea27321355ba5594f679277d@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r5899ece90bcae5805ad6142fdb05c58595cff19cb2e98cc58a91f55b@%3Cgitbox.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r70389648227317bdadcdecbd9f238571a6047469d156bd72bb0ca2f7@%3Cgitbox.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r946488fb942fd35c6a6e0359f52504a558ed438574a8f14d36d7dcd7@%3Ccommits.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/ra255ddfc8b613b80e9fa22ff3e106168b245f38a22316bfb54d21159@%3Cissues.activemq.apache.org%3E>
- other: <https://lists.apache.org/thread.html/raea451de09baed76950d6a60cc4bb1b74476c505e03205a3c68c9808@%3Cissues.activemq.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-26117>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9mgm-gcq8-86wq> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-26117> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-26117>
