VYPR
Unrated severityNVD Advisory· Published Jun 1, 2026

CVE-2026-45505

CVE-2026-45505

Description

A bypass of the fix for CVE-2026-34197 in Apache ActiveMQ allows authenticated attackers to achieve remote code execution via non-parenthesized discovery wrappers.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A bypass of the fix for CVE-2026-34197 in Apache ActiveMQ allows authenticated attackers to achieve remote code execution via non-parenthesized discovery wrappers.

Vulnerability

The original vulnerability (CVE-2026-34197) allowed authenticated attackers to invoke Jolokia JMX operations to load a remote Spring XML context via the VM transport's brokerConfig parameter, leading to arbitrary code execution. The fix for that CVE introduced validation to block malicious discovery URIs. However, CVE-2026-45505 identifies that non-parenthesized discovery wrappers such as masterslave:vm://...,... and static:vm://... incorrectly pass validation, allowing a bypass of the fix. This affects Apache ActiveMQ Broker, ActiveMQ All, and ActiveMQ before versions 5.19.7 and from 6.0.0 before 6.2.6 [1].

Exploitation

An authenticated attacker with access to the web console's Jolokia endpoint (/api/jolokia/) can craft a discovery URI using the non-parenthesized wrappers (e.g., masterslave:vm://...,...). This URI bypasses the validation introduced in the previous fix and still triggers the VM transport's brokerConfig parameter to load a remote Spring XML application context via ResourceXmlApplicationContext. The attacker does not require any additional privileges beyond authentication to the web console [1].

Impact

Successful exploitation results in arbitrary code execution on the broker's JVM. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, the attacker can execute arbitrary Java code through bean factory methods such as Runtime.exec(). This compromises the confidentiality, integrity, and availability of the broker and potentially the entire network [1].

Mitigation

Users should upgrade to Apache ActiveMQ version 5.19.7 or 6.2.6, which contain the proper fix for this bypass. No workarounds are documented in the available references. The affected versions are all prior to these releases [1].

AI Insight generated on Jun 1, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Apache/Activemqllm-create2 versions
    <5.19.7 || (>=6.0.0 <6.2.6)+ 1 more
    • (no CPE)range: <5.19.7 || (>=6.0.0 <6.2.6)
    • (no CPE)range: <5.19.7 || (>=6.0.0 <6.2.6)

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

2

News mentions

0

No linked articles in our index yet.