CVE-2026-41044: CWE-20 Improper Input Validation in Apache Software Foundation Apache ActiveMQ
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ, Apache ActiveMQ Broker, Apache ActiveMQ All. An authenticated attacker can use the admin web console page to construct a malicious broker name that bypasses name validation to include an xbean binding that can be later used by a VM transport to load a remote Spring XML application. The attacker can then use the DestinationView mbean to send a message to trigger a VM transport creation that will reference this malicious broker name which can lead to loading the malicious Spring XML context file. 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: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ Broker: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5. Users are recommended to upgrade to version 6.2.5 or 5.19.6, which fixes the issue.
AI Analysis
Technical Summary
This vulnerability in Apache ActiveMQ allows an authenticated attacker to bypass broker name validation through the admin web console by injecting an xbean binding. This malicious broker name can be referenced by a VM transport to load a remote Spring XML application context. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before configuration validation, the attacker can achieve arbitrary code execution on the broker's JVM via bean factory methods like Runtime.exec(). The issue affects Apache ActiveMQ versions prior to 5.19.6 and from 6.0.0 up to but not including 6.2.5. Upgrading to versions 5.19.6 or 6.2.5 mitigates the vulnerability.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary code on the JVM running the Apache ActiveMQ broker. This can lead to full compromise of the broker service, potentially affecting message handling and system integrity. The vulnerability requires authentication and access to the admin web console, limiting exposure to authorized users or attackers who have gained such access.
Mitigation Recommendations
Users should upgrade Apache ActiveMQ to version 5.19.6 or 6.2.5 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Since this is not a cloud service, users must apply the upgrade themselves. Patch status is confirmed by the vendor advisory recommending these versions.
CVE-2026-41044: CWE-20 Improper Input Validation in Apache Software Foundation Apache ActiveMQ
Description
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ, Apache ActiveMQ Broker, Apache ActiveMQ All. An authenticated attacker can use the admin web console page to construct a malicious broker name that bypasses name validation to include an xbean binding that can be later used by a VM transport to load a remote Spring XML application. The attacker can then use the DestinationView mbean to send a message to trigger a VM transport creation that will reference this malicious broker name which can lead to loading the malicious Spring XML context file. 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: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ Broker: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5. Users are recommended to upgrade to version 6.2.5 or 5.19.6, which fixes the issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Apache ActiveMQ allows an authenticated attacker to bypass broker name validation through the admin web console by injecting an xbean binding. This malicious broker name can be referenced by a VM transport to load a remote Spring XML application context. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before configuration validation, the attacker can achieve arbitrary code execution on the broker's JVM via bean factory methods like Runtime.exec(). The issue affects Apache ActiveMQ versions prior to 5.19.6 and from 6.0.0 up to but not including 6.2.5. Upgrading to versions 5.19.6 or 6.2.5 mitigates the vulnerability.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary code on the JVM running the Apache ActiveMQ broker. This can lead to full compromise of the broker service, potentially affecting message handling and system integrity. The vulnerability requires authentication and access to the admin web console, limiting exposure to authorized users or attackers who have gained such access.
Mitigation Recommendations
Users should upgrade Apache ActiveMQ to version 5.19.6 or 6.2.5 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Since this is not a cloud service, users must apply the upgrade themselves. Patch status is confirmed by the vendor advisory recommending these versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-16T13:02:49.030Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69eb479387115cfb681fd011
Added to database: 4/24/2026, 10:36:03 AM
Last enriched: 4/24/2026, 10:51:04 AM
Last updated: 4/24/2026, 11:44:36 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.