8.8

CVE-2026-40466: apache software foundation apache activemq Improper Input Validation

CVSS: 8.8v3.1HighModified
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.11% chance of exploitation in the next 30 days, higher than 90.6% of scored vulnerabilities.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
4.11%
0%100%
Low · -0.68 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.11%

Chance of exploitation in the next 30 days

Percentile

91%

Versus all other CVEs

30-day change

-0.68 pp

From 4.78% on 18-09-2026

18-09-202618-10-2026
EPSS score
4.11%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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