Code Injection in ActiveMQ - CVE-2026-45505

 

Code Injection in ActiveMQ - CVE-2026-45505

Published: June 4, 2026


Vulnerability identifier: #VU133396
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-45505
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper input validation and code injection in the Jolokia JMX-HTTP bridge and BrokerService.addNetworkConnector(String)/addConnector(String) operations when handling crafted discovery URIs through the /api/jolokia/ web console endpoint. A remote user can invoke these operations with a specially crafted discovery URI to execute arbitrary code.

The issue involves non-parenthesized discovery wrappers such as masterslave:vm://...,... and static:vm://... that bypass prior validation, causing the VM transport's brokerConfig parameter to load a remote Spring XML application context via ResourceXmlApplicationContext before configuration validation completes.


Affected software

ActiveMQ
Bamboo Data Center
openEuler
activemq
activemq-javadoc

How to mitigate CVE-2026-45505

Install security update from vendor's website.

ActiveMQ - addressed in versions 5.19.7, 6.2.6
Bamboo Data Center - addressed in versions 10.2.21, 12.1.9
activemq - update to 5.19.7-1
activemq-javadoc - update to 5.19.7-1

External References

Related Security Bulletins