Authenticated code execution via remote Spring XML loading
Published Apr 7, 2026 · Updated Apr 7, 2026
Code injection in Apache ActiveMQ Classic before 5.19.4 and 6.0.0 through 6.2.2 allows remote authenticated users to execute JVM code. BrokerService.addNetworkConnector(String) and addConnector(String) accept a crafted discovery URI whose brokerConfig loads a remote ResourceXmlApplicationContext and instantiates singleton beans before validation. Access to the authenticated Jolokia web console is required, and a bean factory method such as Runtime.exec() runs with the broker JVM's privileges.
Summary
What happened
Code injection in Apache ActiveMQ Classic before 5.19.4 and 6.0.0 through 6.2.2 allows remote authenticated users to execute JVM code. BrokerService.addNetworkConnector(String) and addConnector(String) accept a crafted discovery URI whose brokerConfig loads a remote ResourceXmlApplicationContext and instantiates singleton beans before validation. Access to the authenticated Jolokia web console is required, and a bean factory method such as Runtime.exec() runs with the broker JVM's privileges.
The record
- CVE
- CVE-2026-34197
- Published
- Apr 7, 2026
- Updated
- Apr 7, 2026
- Vendor
- The Apache Software Foundation
- Product
- Apache ActiveMQ Broker
- Classifications
- CWE-94, CWE-20, T1210
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 7, 2026CVE publishedPublication date reported by the CVE source.
- Apr 7, 2026Record updatedLatest update available in the CVE record.
- Apr 16, 2026Exploitation reportedCISA Known Exploited Vulnerabilities Catalog entry
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <5.19.4
- Affected versionversion=6.0.0 <6.2.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog entryknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo