8.8

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

Modified
AliasesUBUNTU-CVE-2026-40466DEBIAN-CVE-2026-40466CGA-2h76-5jw5-39wj
Published 24-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-40466 is a high (CVSS 8.8) Improper Input Validation vulnerability in apache software foundation apache activemq. EPSS estimates a 4.78% chance of exploitation in the next 30 days, higher than 92.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
4.78%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

4.78%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

No change 0.00 pp

From 4.78% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard4 products
  • apache-activemq-6.1All versions (No fix recorded)
  • apache-activemq-fips-6.1All versions (No fix recorded)
  • geoserver-2.27-community< 2.27.5-r9
  • geoserver-2.28-community< 2.28.3-r7
Apache software foundation3 products
Org.apache.activemq3 products
  • activemq-all< 5.19.6 | ≥ 6.0.0, < 6.2.5
  • activemq-broker< 5.19.6 | ≥ 6.0.0, < 6.2.5
  • apache-activemq< 5.19.6 | ≥ 6.0.0, < 6.2.5
Apache2 products
Debian1 product
  • activemqAll versions (No fix recorded)
Ubuntu1 product
  • activemqAll versions (No fix recorded)

6 vendors · 14 products

References

12 links
Show all 12 references