CVE Tools

CVE-2026-40466

Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Possible bypass of CVE-2026-34197 via HTTP discovery second-stage URI

CVE-2026-40466 is an input validation in Apache Activemq (CVSS 8.8, High).

No known exploitation. EPSS puts it in the 92nd percentile. Fixed versions are out.

Check it yourself

Nuclei · 1 templateOpenVAS · 6 checks

e.g. Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass · OID 1.3.6.1.4.1.25623.1.0.133254

Run the check

Published Updated Sources: CVE.org, NVD

What to do

Find your product and version, then upgrade to the build on the right.

  • Apache Software Foundation Apache ActiveMQAffected: < 5.19.6Upgrade to: 5.19.6Affected: ≥ 6.0.0, < 6.2.5Upgrade to: 6.2.5Stated by: CVE record
  • Apache Software Foundation Apache ActiveMQ BrokerAffected: < 5.19.6Upgrade to: 5.19.6Affected: ≥ 6.0.0, < 6.2.5Upgrade to: 6.2.5Stated by: CVE record
  • Apache Software Foundation Apache ActiveMQ AllAffected: < 5.19.6Upgrade to: 5.19.6Affected: ≥ 6.0.0, < 6.2.5Upgrade to: 6.2.5Stated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

What it is

From the CVE record

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. An authenticated attacker may bypass the fix in CVE-2026-34197 by adding a connector using an HTTP Discovery transport via BrokerView.addNetworkConnector or BrokerView.addConnector through Jolokia if the activemq-http module is on the classpath. A malicious HTTP endpoint can return a VM transport through the HTTP URI which will bypass the validation added in CVE-2026-34197. The attacker can then use 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.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ: before 5.19.6, from 6.0.0 before 6.2.5. Users are recommended to upgrade to version 5.19.6 or 6.2.5, which fixes the issue.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS92nd
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

4.1% chance of exploitation activity in the next 30 days, which ranks it in the 92nd percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

10 events over 185 days, from the signal feeds we watch.

  1. Record updated
  2. Record updated
  3. Record updated
  4. OpenVAS check added
  5. EPSS band changemoderate → low
  6. EPSS band changelow → moderate

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 8.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2026-40466

Is CVE-2026-40466 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 4.1%.
Which versions are affected by CVE-2026-40466?
Apache ActiveMQ: < 5.19.6; ≥ 6.0.0, < 6.2.5. Apache ActiveMQ Broker: < 5.19.6; ≥ 6.0.0, < 6.2.5. Apache ActiveMQ All: < 5.19.6; ≥ 6.0.0, < 6.2.5.
How do I fix or mitigate CVE-2026-40466?
Upgrade to a fixed build for your product branch: 5.19.6, 6.2.5.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Apache ActiveMQ, not every advisory.