Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ.
Overview
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, 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) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery URI 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.4, from 6.0.0 before 6.2.3; Apache ActiveMQ All: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.3. Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue
- Published
- 4/7/2026
- Last modified
- 10/26/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
Known exploited · CISA KEV
The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.
Added to KEV: Not available
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
activemq apache | < 5.19.4 | Verify advisory | Source |
activemq apache | ≥ 6.0.0, < 6.2.3 | Verify advisory | Source |
activemq broker apache | < 5.19.4 | Verify advisory | Source |
activemq broker apache | ≥ 6.0.0, < 6.2.3 | Verify advisory | Source |
Apache ActiveMQ Broker Apache Software Foundation | < 5.19.4 | Verify advisory | Source |
Apache ActiveMQ Broker Apache Software Foundation | ≥ 6.0.0, < 6.2.3 | Verify advisory | Source |
Apache ActiveMQ All Apache Software Foundation | < 5.19.4 | Verify advisory | Source |
Apache ActiveMQ All Apache Software Foundation | ≥ 6.0.0, < 6.2.3 | Verify advisory | Source |
Apache ActiveMQ Apache Software Foundation | < 5.19.4 | Verify advisory | Source |
Apache ActiveMQ Apache Software Foundation | ≥ 6.0.0, < 6.2.3 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.