cbcvebase.
CVE-2026-34197
published 2026-04-07

CVE-2026-34197: Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ…

PriorityP195high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2026-04-30
Exploited in the wild
EPSS
97.22%
99.9th percentile
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

Affected

22 ranges
VendorProductVersion rangeFixed in
apacheactivemq< 5.19.75.19.7
apacheactivemq< 5.19.65.19.6
apacheactivemq< 5.19.45.19.4
apacheactivemq>= 6.0.0 < 6.2.66.2.6
apacheactivemq>= 6.0.0 < 6.2.56.2.5
apacheactivemq>= 6.0.0 < 6.2.36.2.3
apacheactivemq_broker< 5.19.75.19.7
apacheactivemq_broker< 5.19.65.19.6
apacheactivemq_broker< 5.19.45.19.4
apacheactivemq_broker>= 6.0.0 < 6.2.66.2.6
apacheactivemq_broker>= 6.0.0 < 6.2.56.2.5
apacheactivemq_broker>= 6.0.0 < 6.2.36.2.3
apache_software_foundationapache_activemq< 5.19.75.19.7
apache_software_foundationapache_activemq>= 6.0.0 < 6.2.66.2.6
apache_software_foundationapache_activemq_all< 5.19.75.19.7
apache_software_foundationapache_activemq_all>= 6.0.0 < 6.2.66.2.6
apache_software_foundationapache_activemq_broker< 5.19.75.19.7
apache_software_foundationapache_activemq_broker>= 6.0.0 < 6.2.66.2.6
candlepinprojectcandlepin
debianactivemq
log4j_2log4j
satellite_el8candlepin

Detection & IOCsextracted from sources · hover to see the quote

url/api/jolokia/
commandbrokerConfig=xbean:http://
commandmasterslave:vm://...,...
commandstatic:vm://...
  • Search ActiveMQ broker logs for suspicious broker connections using the internal VM transport protocol combined with the brokerConfig=xbean:http:// query parameter as an indicator of exploitation.
  • If a warning message about a configuration problem appears in ActiveMQ logs during connection attempts, the payload has already been executed — the command execution occurs during multiple connection attempts.
  • Audit all ActiveMQ deployments for externally accessible Jolokia endpoints at /api/jolokia/; restrict access to trusted networks and enforce strong authentication or disable Jolokia where not required.
  • On ActiveMQ versions 6.0.0–6.1.1, CVE-2024-32114 exposes the Jolokia API without authentication, making CVE-2026-34197 effectively an unauthenticated RCE — prioritize these versions for immediate patching.
  • Monitor for invocations of BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String) MBean operations via Jolokia, particularly with crafted discovery URI arguments containing remote HTTP URLs.
  • Exploitation activity peaked on April 14, 2026 per Fortinet FortiGuard Labs telemetry; use this date as a reference point for retrospective log analysis.
  • Check Point IPS signature 'Apache ActiveMQ Code Injection (CVE-2026-34197)' can be used for network-level detection of exploitation attempts.
  • ·Default credentials (admin:admin) are common in many ActiveMQ environments, lowering the effective bar for exploitation even on versions that require authentication.
  • ·The bypass variant (CVE-2026-45505) uses non-parenthesized discovery wrapper URIs (e.g., masterslave:vm://...,... or static:vm://...) to evade the patch for CVE-2026-34197; patching to 5.19.7 or 6.2.6 is required to address both.
  • ·Spring's ResourceXmlApplicationContext instantiates all singleton beans before BrokerService validates the configuration, meaning code execution occurs before any broker-level validation can block it.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ghsa8.8HIGH
osv8.8HIGH
vulncheck8.8HIGH
cisa8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.