All vulnerabilities

Servers and applications

CVE-2026-42588

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including…

Severity
High 8.1
Published
1 Jun 2026
Last changed
22 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
5.19.7, 6.2.6
Exploit chance
0.7% in the next 30 daysHigher than 55% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper input validation (CWE-20)Code injection (CWE-94)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Sources
NVD

Description

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.

Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String).

An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter using the "masterslave:// " URL which can allow loading a Spring XML application context using ResourceXmlApplicationContext. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code execution occurs on the broker's JVM through bean factory methods such as Runtime.exec().

From NVD. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Apache ActiveMQServers and applications · cpe:a:apache:activemq
  • Every version before 5.19.7
  • From 6.0.0 before 6.2.6

About Apache ActiveMQ

message broker software

From Wikidata, CC0 1.0.
Docker Hub pulls
5,035,135Docker Hub, 15 Nov 2026
GitHub stars
2,461GitHub, 15 Nov 2026
Forks
1,510GitHub, 15 Nov 2026
Latest release
activemq-6.4.0GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
Developer
Apache Software FoundationWikidata
License
Apache Software License 2.0Wikidata
Written in
Java, C, C++Wikidata
First released
27 Mar 2006Wikidata
First published on GitHub
21 May 2009GitHub

Release lines

ReleaseLatestSecurity fixes
6.46.4.0Yes
6.36.3.3Yes
6.26.2.10Yes
5.195.19.12Yes
6.16.1.8Ended 2 Dec 2025
6.06.0.1Ended 17 Mar 2024

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-42588
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-42588