CVE-2026-45505Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Jolokia…
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. Non-parenthesized discovery wrappers such as `masterslave:vm://...,...` and `static:vm://...` incorrectly pass validation allowing bypass of fix in CVE-2026-34197. Original description from CVE-2026-34197. Apache ActiveMQ 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) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery UR that triggers the VM transport's brokerConfig parameter to load a remote 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(). This issue affects Apache ActiveMQ Broker: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | activemq | Fix pending | UBUNTU-CVE-2026-45505 | |
| Ubuntu 26.04 | activemq | Under investigation | UBUNTU-CVE-2026-45505 | |
| Ubuntu 25.10 | activemq | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-45505 | |
| Ubuntu 24.04 | activemq | Under investigation | UBUNTU-CVE-2026-45505 | |
| Ubuntu 22.04 | activemq | Fix pending | UBUNTU-CVE-2026-45505 | |
| Ubuntu 20.04 | activemq | Fix pending | UBUNTU-CVE-2026-45505 | |
| Ubuntu 18.04 | activemq | Fix pending | UBUNTU-CVE-2026-45505 | |
| Ubuntu 16.04 | activemq | Fix pending | UBUNTU-CVE-2026-45505 | |
| Debian 13 | activemq | Fix pending | DEBIAN-CVE-2026-45505 | |
| Debian 12 | activemq | Fix pending | DEBIAN-CVE-2026-45505 | |
| Red Hat Enterprise Linux 8 | log4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-jcl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-slf4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-web | Fix pending Fix deferred | ||
| Maven library | org.apache.activemq:activemq-all | Fixed | 6.2.6 | GHSA-v853-w46p-fv2h |
| Maven library | org.apache.activemq:activemq-broker | Fixed | 6.2.6 | GHSA-v853-w46p-fv2h |
| Maven library | org.apache.activemq:apache-activemq | Fixed | 5.19.7 | GHSA-v853-w46p-fv2h |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache ActiveMQ Broker: affected: before 5.19.7, 6.0.0 to before 6.2.6; fixed in
5.19.7,6.2.6 - Apache Software Foundation Apache ActiveMQ All: affected: before 5.19.7, 6.0.0 to before 6.2.6; fixed in
5.19.7,6.2.6 - Apache Software Foundation Apache ActiveMQ: affected: before 5.19.7, 6.0.0 to before 6.2.6; fixed in
5.19.7,6.2.6
Vendor advisories:
- https://lists.apache.org/thread/7n97nddyw96w6ykldjv1h40jx86xdo0w (vendor-advisory)
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-34197
- https://lists.apache.org/thread/7n97nddyw96w6ykldjv1h40jx86xdo0w
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.