ActiveMQ: LDAP-Authentication does not verify passwords on servers with anonymous bind

Summary

CVECVE-2021-26117
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-01-27 19:15:13 UTC
Updated2026-06-15 13:03:40 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Problem Types: CWE-287 | CWE-287 CWE-287 Improper Authentication


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
2.0[email protected]Primary5AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Activemq All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache ActiveMQ affected Apache ActiveMQ Artemis 2.16.0 custom Not specified
CNA Apache Software Foundation Apache ActiveMQ affected Apache ActiveMQ 5.16.1 custom Not specified

References

ReferenceSourceLinkTags
lists.apache.org/thread.html/rd75600cee29cb248d548edcf6338fe296466d63a69e2ed0a... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r519bfafd67091d0b91243efcb1c49b1eea27321355ba5594... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/rffa5cd05d01c4c9853b17f3004d80ea6eb8856c422a8545c... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - October 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
lists.apache.org/thread.html/rd05b1c9d61dbd220664d559aa0e2b55e5830f006a09e8205... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/re1b98da90a5f2e1c2e2d50e31c12e2578d61fe01c0737f9d... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - July 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
lists.apache.org/thread.html/r110cacfa754471361234965ffe851a046e302ff2693b055f... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/raea451de09baed76950d6a60cc4bb1b74476c505e03205a3... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r5899ece90bcae5805ad6142fdb05c58595cff19cb2e98cc5... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r3341d96d8f956e878fb7b463b08d57ca1d58fec9c970aee9... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
CVE-2021-26117: ActiveMQ: LDAP-Authentication does not verify passwords on servers with anonymous bind af854a3a-2127-422b-91ae-364da2661108 mail-archives.apache.org
Oracle Critical Patch Update Advisory - April 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Not Applicable, Third Party Advisory
CVE-2021-26117 Apache ActiveMQ Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
lists.apache.org/thread.html/r22cdc0fb45e223ac92bc2ceff7af92f1193dfc614c8b2485... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r946488fb942fd35c6a6e0359f52504a558ed438574a8f14d... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
[SECURITY] [DLA 2583-1] activemq security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
lists.apache.org/thread.html/r70389648227317bdadcdecbd9f238571a6047469d156bd72... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/ra255ddfc8b613b80e9fa22ff3e106168b245f38a22316bfb... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.debian.org/debian-lts-announce/2023/11/msg00013.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
lists.apache.org/thread.html/rec93794f8aeddf8a5f1a643d264b4e66b933f06fd72a38f3... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
CVE-2021-26117: ActiveMQ: LDAP-Authentication does not verify passwords on servers with anonymous bind MITRE mail-archives.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Apache ActiveMQ would like to thank Gregor Tudan <[email protected]> for reporting this issue. (en)

Legacy QID Mappings

  • 179811 Debian Security Update for activemq (CVE-2021-26117)
  • 6000335 Debian Security Update for activemq (DLA 3657-1)
  • 730055 Apache ActiveMQ LDAP-Authentication Vulnerability (CVE-2021-26117)
  • 980334 Java (maven) Security Update for org.apache.activemq:apache-artemis (GHSA-9mgm-gcq8-86wq)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report