WaratekVRT Sign in

CVE-2026-40466

Affected software2 products, listed below
Severity8.8 High CVSS 3.1 2 scores
Fixed in5.19.6, 6.2.5
WeaknessCode injection (CWE-94)
Published24 Apr 2026
Updated26 Oct 2026

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.

CWE-20 · Improper input validation

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 1 citation · honeypot sightings · earliest 2026-05-07.
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 4.8% chance in 30 days

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2026-40466 in VulnCheck (free account).

EvidenceSourceDetailDate
Honeypot sighting VulnCheck canaries Exploitation attempts seen on 41 days 2026-05-07 to 2026-11-02
Reported exploitation linkedin.com /feed/update/urn:li:activity:7458251406555348992 2026-05-07
IndexArtifactStarsFirst seen
Nuclei Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A Red Hat Bugzilla ticket (https://bugzilla.redhat.com/show_bug.cgi?id=2461410) tracks the fix. That makes this CVE a candidate for an ARMR patch rule. No rule exists and none is scheduled: whether one can be derived depends on reading the upstream change the ticket links.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2461410 : a Red Hat bug: the triage, which links onward to the fix

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary published
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H redhat-SADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle Financial Services Applications / Platform (Apache ActiveMQ) (8.0.7.9.0, 8.0.8.7.0, 8.1.2.5.0)
Oracle Fusion Middleware / General (Apache ActiveMQ) (12.2.1.4.0, 14.1.2.0.0)
Oracle Critical Security Patch Update May 2026 ↗ CSPU 2026-Q2 Oracle Communications / Message Bus (Apache ActiveMQ) (6.1.1-7.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Message Bus (Apache ActiveMQ) 6.1.1-7.0.0
Oracle Financial Services Applications Platform (Apache ActiveMQ) 8.0.7.9.0, 8.0.8.7.0, 8.1.2.5.0 8.0.7.9.0 · 8.0.8.7.0 · 8.1.2.5.0
Oracle Fusion Middleware General (Apache ActiveMQ) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.activemq:apache-activemq 0 5.19.6 unbounded
org.apache.activemq:activemq-all 0 5.19.6 unbounded
org.apache.activemq:activemq-broker 0 5.19.6 unbounded
org.apache.activemq:apache-activemq 6.0.0 6.2.5 unbounded
org.apache.activemq:activemq-all 6.0.0 6.2.5 unbounded
org.apache.activemq:activemq-broker 6.0.0 6.2.5 unbounded

Products and versions

5 products, 10 version entries
SourceVendorProductSchemeAffected versions
nvd apache activemq generic < 5.19.6 · ≥ 6.0.0 and < 6.2.5
nvd apache activemq broker generic < 5.19.6 · ≥ 6.0.0 and < 6.2.5
osv org.apache.activemq activemq-all generic < 5.19.6 · ≥ 6.0.0 and < 6.2.5
osv org.apache.activemq activemq-broker generic < 5.19.6 · ≥ 6.0.0 and < 6.2.5
osv org.apache.activemq apache-activemq generic < 5.19.6 · ≥ 6.0.0 and < 6.2.5

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2461410 bugzilla
https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt WEB
https://github.com/apache/activemq PACKAGE
https://access.redhat.com/security/cve/CVE-2026-40466
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40466.json

Timeline

Published2026-04-24By the CVE Program.
VulnCheck KEV: earliest evidence2026-05-07Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-10-26NVD's own last-modified date for this record.
VulnCheck KEV: latest evidence2026-11-02Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.