HIGH 7.5

CVE-2026-49434: Apache ActiveMQ LDAP Input Validation – HIGH Severity Patch Alert

Apache ActiveMQ contains an input validation flaw that allows attackers with LDAP write access to inject malicious configuration. By modifying LDAP entries matching the broker's search criteria, an attacker can force the broker to instantiate unauthorized transports, retrieve external URLs, and spawn a second message broker instance within the same JVM. This effectively gives an attacker the ability to create a parallel, attacker-controlled broker alongside the legitimate one.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses (CWE)
CWE-20
Affected products
2 configuration(s)
Published / Modified
2026-06-30 / 2026-07-02

NVD description (verbatim)

Improper Input Validation vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ, Apache ActiveMQ All. An attacker that has access to publish or modify entries in LDAP that match the configured searchBase and searchFilter can instantiate denied transports inside the broker JVM. This can be used to fetch an attacker URL and spawn a second BrokerService inside the same JVM. This issue affects Apache ActiveMQ Broker: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ All: before 5.19.8, from 6.0.0 before 6.2.7. Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-49434 is an improper input validation vulnerability (CWE-20) affecting Apache ActiveMQ's LDAP-based configuration mechanism. When a broker is configured to use LDAP for authentication or transport discovery, an attacker with write privileges to LDAP entries within the configured searchBase and searchFilter scope can craft malicious entries that bypass transport restrictions. The broker fails to properly validate these entries before instantiating the specified transport and retrieving configuration from attacker-controlled sources. This results in arbitrary BrokerService instantiation within the broker JVM, potentially allowing further lateral movement or data exfiltration.

Business impact

A successful attack enables an attacker to create a rogue message broker inside your production broker JVM. This can be leveraged to intercept, modify, or redirect messaging traffic, compromise message confidentiality and integrity, and establish a foothold for further attacks on dependent applications. Organizations relying on ActiveMQ for critical messaging workflows face disruption and potential data breach if an attacker gains LDAP write access.

Affected systems

Apache ActiveMQ versions before 5.19.8 and versions 6.0.0 through 6.2.6 are vulnerable. The vulnerability applies across all three affected product lines: Apache ActiveMQ Broker, Apache ActiveMQ, and Apache ActiveMQ All. Any deployment using LDAP-based transport or authentication configuration is at risk if LDAP write access is available to hostile actors.

Exploitability

Exploitation requires prior LDAP write access to entries matching the broker's configured searchBase and searchFilter. This is a reasonable prerequisite in compromised or insider-threat scenarios, but not trivial in well-segmented networks. Once LDAP write access is obtained, exploitation is straightforward and requires no special broker privileges or user interaction. The attack surface is limited to organizations using LDAP integration with ActiveMQ.

Remediation

Upgrade Apache ActiveMQ to version 5.19.8 or 6.2.7 immediately. These versions include input validation fixes that prevent malicious LDAP entries from instantiating unauthorized transports. Organizations unable to upgrade immediately should restrict LDAP write access to trusted administrators only, disable LDAP-based transport configuration if not required, and monitor LDAP modifications for suspicious activity.

Patch guidance

Apply security updates as follows: for ActiveMQ 5.x deployments, upgrade to 5.19.8 or later; for 6.x deployments, upgrade to 6.2.7 or later. Verify against the official Apache ActiveMQ security advisory for complete patch details and any version-specific deployment notes. Test patches in a non-production environment before rolling out to production brokers. Ensure all broker instances in a cluster are updated to prevent mixed-version vulnerabilities.

Detection guidance

Monitor LDAP logs for unexpected modifications to entries within your configured searchBase that correspond to transport or broker configuration. Watch broker logs for unauthorized BrokerService instantiation attempts or unexpected transport binding events. Implement LDAP access controls to alert on write operations from non-administrative accounts. Network monitoring can detect unusual outbound connections initiated by the broker to fetch remote configurations.

Why prioritize this

This vulnerability scores HIGH (7.5 CVSS) and warrants prioritization because it enables integrity compromise of the messaging infrastructure with minimal prerequisites once LDAP write access is obtained. While not currently listed in the KEV catalog, the attack surface in organizations using LDAP with ActiveMQ is significant. Patching is straightforward and low-risk, making this a high-return remediation effort.

Risk score, explained

The CVSS 3.1 score of 7.5 reflects a network-accessible vulnerability with no authentication required from the ActiveMQ side (though LDAP write access is a prerequisite). The vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N indicates that integrity is severely impacted (ability to inject a rogue broker) while confidentiality and availability are not directly affected by this mechanism alone. The score is elevated by the high impact of successful exploitation despite the LDAP write access requirement.

Frequently asked questions

Do we need to patch if we don't use LDAP with ActiveMQ?

If your ActiveMQ deployment does not use LDAP for transport or authentication configuration, the attack vector is not available. However, verify your broker configuration to confirm LDAP integration is not enabled before deciding to defer patching.

What should we do if we suspect LDAP was compromised?

Immediately rotate LDAP administrative credentials, audit LDAP entries for unauthorized modifications, and check broker logs for evidence of rogue BrokerService instances. Consider a complete broker audit and temporary traffic isolation until the scope of compromise is understood.

Can the rogue broker be detected after instantiation?

Yes. Monitor for unexpected JVM thread counts or memory usage spikes in the broker process, and enable detailed broker logging to capture BrokerService lifecycle events. Network monitoring can detect suspicious outbound connections to fetch configuration.

Does this vulnerability require the attacker to be on the network?

The vulnerability itself is network-accessible, but the attacker must have LDAP write access to the directory. This typically requires either internal network access, a compromised LDAP account, or exploitation of a separate LDAP service vulnerability.

This analysis is provided for informational purposes and should not be considered professional security advice. All version numbers, patch guidance, and vulnerability details are sourced from official CVE and vendor disclosures. Readers should verify patch applicability and test updates in non-production environments before deployment. SEC.co makes no warranties regarding the completeness or accuracy of this assessment. Organizations should conduct their own vulnerability assessments and consult official vendor advisories for authoritative remediation guidance. Source: NVD (public-domain), retrieved 2026-08-09. Analysis generated by SEC.co (claude-haiku-4-5).