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 arises from improper input validation in the admin web console, permitting an authenticated attacker to inject a malicious broker name containing an xbean binding. This binding can be exploited via the DestinationView mbean to trigger VM transport creation that loads a remote Spring XML application context. Because Spring's ResourceXmlApplicationContext instantiates singleton beans before BrokerService validates configuration, arbitrary code execution can occur through bean factory methods such as Runtime.exec(). The issue affects Apache ActiveMQ versions before 5.19.6 and from 6.0.0 before 6.2.5. The vendor recommends upgrading to versions 5.19.6 or 6.2.5 to remediate the vulnerability.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary code on the broker's JVM, potentially leading to full compromise of the ActiveMQ broker service. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Users should upgrade Apache ActiveMQ to version 5.19.6 or 6.2.5, where this vulnerability is fixed. Since no official patch links or vendor advisory text is provided, patch status is inferred from the description recommending these versions. No alternative mitigations or temporary fixes are indicated. Until upgraded, restrict access to the admin web console to trusted users only to reduce risk.
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.
CVSS v3.1
Score 8.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Apache ActiveMQ arises from improper input validation in the admin web console, permitting an authenticated attacker to inject a malicious broker name containing an xbean binding. This binding can be exploited via the DestinationView mbean to trigger VM transport creation that loads a remote Spring XML application context. Because Spring's ResourceXmlApplicationContext instantiates singleton beans before BrokerService validates configuration, arbitrary code execution can occur through bean factory methods such as Runtime.exec(). The issue affects Apache ActiveMQ versions before 5.19.6 and from 6.0.0 before 6.2.5. The vendor recommends upgrading to versions 5.19.6 or 6.2.5 to remediate the vulnerability.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary code on the broker's JVM, potentially leading to full compromise of the ActiveMQ broker service. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Users should upgrade Apache ActiveMQ to version 5.19.6 or 6.2.5, where this vulnerability is fixed. Since no official patch links or vendor advisory text is provided, patch status is inferred from the description recommending these versions. No alternative mitigations or temporary fixes are indicated. Until upgraded, restrict access to the admin web console to trusted users only to reduce risk.
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: 5/1/2026, 8:38:37 PM
Last updated: 6/7/2026, 10:33:10 AM
Views: 64
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.