Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40466: CWE-20 Improper Input Validation in Apache Software Foundation Apache ActiveMQ Broker

0
Critical
VulnerabilityCVE-2026-40466cvecve-2026-40466cwe-20cwe-94
Published: Fri Apr 24 2026 (04/24/2026, 10:15:44 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache ActiveMQ Broker

Description

CVE-2026-40466 is a vulnerability in Apache ActiveMQ Broker that allows an authenticated attacker to bypass previous fixes and achieve arbitrary code execution. The attacker can add a connector using an HTTP Discovery transport via Jolokia if the activemq-http module is present, leading to loading a remote Spring XML application context. This causes the broker's JVM to execute arbitrary code through bean factory methods before configuration validation. The issue affects versions before 5. 19. 6 and from 6. 0. 0 before 6. 2. 5.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/24/2026, 10:51:19 UTC

Technical Analysis

This vulnerability involves improper input validation and control of code generation in Apache ActiveMQ Broker. An authenticated attacker can bypass the fix from CVE-2026-34197 by adding a network connector via Jolokia with the activemq-http module on the classpath. The attacker can exploit a malicious HTTP endpoint that returns a VM transport URI, which bypasses validation and allows loading of a remote Spring XML application context. Because Spring's ResourceXmlApplicationContext instantiates singleton beans before BrokerService validates configuration, arbitrary code execution occurs on the broker JVM through bean factory methods such as Runtime.exec(). The vulnerability affects Apache ActiveMQ Broker versions before 5.19.6 and from 6.0.0 before 6.2.5. The issue is resolved in versions 5.19.6 and 6.2.5.

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 process. This can undermine the integrity and availability of the messaging service and may allow further attacks within the environment. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Users should upgrade Apache ActiveMQ Broker to version 5.19.6 or 6.2.5, where this vulnerability is fixed. No other official remediation or temporary workaround is indicated. Patch status is not explicitly stated in the vendor advisory, but the description clearly recommends upgrading to these fixed versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-13T13:38:42.111Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69eb479387115cfb681fd00b

Added to database: 4/24/2026, 10:36:03 AM

Last enriched: 4/24/2026, 10:51:19 AM

Last updated: 4/24/2026, 11:47:16 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses