CVE-2026-34197: Apache ActiveMQ Improper Input Validation Vulnerability

Published Apr 6, 2026
·
Updated

Apache ActiveMQ contains an improper input validation vulnerability that allows for code injection.

Other sources

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

NVD

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: .

Users are recommended to upgrade to version 5.19.5 or 6.2.3, which fixes the issue.

Red Hat

Affected Software

10 affected components
Apache ActiveMQ Broker<5.19.4, >=6.0.0<6.2.3
Apache ActiveMQ All<5.19.4, >=6.0.0<6.2.3
Apache ActiveMQ<5.19.4, >=6.0.0<6.2.3
Apache ActiveMQ
Apache ActiveMQ<5.19.4
Apache ActiveMQ>=6.0.0<6.2.3
Apache ActiveMQ Broker<5.19.4
Apache ActiveMQ Broker>=6.0.0<6.2.3
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache ActiveMQ Broker to a version that resolves this vulnerability.

    Fixed in 5.19.4
  2. Upgrade

    Upgrade Apache ActiveMQ All to a version that resolves this vulnerability.

    Fixed in 6.2.3
  3. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 5.19.5Patch CVE-2026-40466
  4. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 6.2.3Patch CVE-2026-34197

Event History

Apr 7, 2026
CVE Published
via MITRE·07:50 AM
Data Sourced
via MITRE·07:50 AM
DescriptionWeakness
Data Sourced
via Red Hat·09:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeaknessAffected Software
Apr 8, 2026
News Published
via BleepingComputer·05:26 PM
News Published
via BleepingComputer·05:27 PM
Apr 16, 2026
Known Exploited
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Apr 17, 2026
News Published
via BleepingComputer·09:30 AM
News Published
via The Register·05:09 PM
News Published
via The Register·05:12 PM
Apr 21, 2026
News Published
via BleepingComputer·11:17 AM
Jul 6, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-34197?

CVE-2026-34197 is classified as a high severity vulnerability due to its potential for code injection.

2

How do I fix CVE-2026-34197?

To mitigate CVE-2026-34197, update Apache ActiveMQ to versions 5.19.4 or higher, or to version 6.2.3 or higher.

3

What software is affected by CVE-2026-34197?

CVE-2026-34197 affects Apache ActiveMQ Broker, Apache ActiveMQ All, and Apache ActiveMQ versions 6.0.0 to 6.2.3 and below 5.19.4.

4

What type of vulnerability is CVE-2026-34197?

CVE-2026-34197 is an improper input validation vulnerability that allows for code injection in Apache ActiveMQ.

5

Can CVE-2026-34197 be exploited remotely?

Yes, CVE-2026-34197 can be exploited remotely due to the nature of the vulnerability allowing for code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203