{"id":"CVE-2026-40466","published":"2026-04-24T10:15:44Z","modified":"2026-07-15T01:00:57Z","title":"Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Possible bypass of CVE-2026-34197 via HTTP discovery…","vendor":"Apache Software Foundation","product":"Apache ActiveMQ Broker","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache ActiveMQ Broker","versions":["< 5.19.6",">= 6.0.0, < 6.2.5"]},{"vendor":"Apache Software Foundation","product":"Apache ActiveMQ All","versions":["< 5.19.6",">= 6.0.0, < 6.2.5"]},{"vendor":"Apache Software Foundation","product":"Apache ActiveMQ","versions":["< 5.19.6",">= 6.0.0, < 6.2.5"]}],"description":{"text":"Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.\n\n\n\nAn 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.\nA 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.\nBecause 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().\n\n\nThis 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.\n\nUsers are recommended to upgrade to version 5.19.6 or 6.2.5, which fixes the issue.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04783,"percentile":0.91917,"date":"2026-10-30","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-05-07","exploitedFirstSeen":"2026-05-07","ransomware":false,"evidence":[{"url":"https://www.linkedin.com/feed/update/urn:li:activity:7458251406555348992/","date":"2026-05-07"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":9,"pulses":[{"name":"Known_Cve | May 3, 2026","url":"https://otx.alienvault.com/pulse/69f61d7b1c7b6110a1ea04c5","created":"2026-05-02"},{"name":"Known_Cve | May 2, 2026","url":"https://otx.alienvault.com/pulse/69f4cbdd9d6792f5e0fe1441","created":"2026-05-01"},{"name":"Known_Cve | May 1, 2026","url":"https://otx.alienvault.com/pulse/69f378c160039674e6d8b0e2","created":"2026-04-30"},{"name":"Known_Cve | Apr 30, 2026","url":"https://otx.alienvault.com/pulse/69f22775c0cab1a8490f77d4","created":"2026-04-29"},{"name":"Known_Cve | Apr 29, 2026","url":"https://otx.alienvault.com/pulse/69f0d6daf049026984c0056a","created":"2026-04-28"},{"name":"Known_Cve | Apr 28, 2026","url":"https://otx.alienvault.com/pulse/69ef8579b85b581c4f7eec39","created":"2026-04-27"},{"name":"Known_Cve | Apr 27, 2026","url":"https://otx.alienvault.com/pulse/69ee331bb594352d6f03f42f","created":"2026-04-26"},{"name":"Known_Cve | Apr 26, 2026","url":"https://otx.alienvault.com/pulse/69ece1c766d687ee21cf62ab","created":"2026-04-25"},{"name":"Known_Cve | Apr 25, 2026","url":"https://otx.alienvault.com/pulse/69eb90c7628bfe372d1727ed","created":"2026-04-24"}],"provenance":"machine"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40466","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2461410","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40466.json","tags":["x_sadp-csaf-vex"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.activemq:apache-activemq","vulnerableRanges":["<5.19.6",">=6.0.0, <6.2.5"],"patched":["5.19.6","6.2.5"],"from":["GHSA-w3w2-mpp5-92gm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.activemq:activemq-all","vulnerableRanges":["<5.19.6",">=6.0.0, <6.2.5"],"patched":["5.19.6","6.2.5"],"from":["GHSA-w3w2-mpp5-92gm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.activemq:activemq-broker","vulnerableRanges":["<5.19.6",">=6.0.0, <6.2.5"],"patched":["5.19.6","6.2.5"],"from":["GHSA-w3w2-mpp5-92gm"],"provenance":"source"}],"advisories":[{"id":"GHSA-w3w2-mpp5-92gm","url":"https://github.com/advisories/GHSA-w3w2-mpp5-92gm","severity":"HIGH","ecosystem":"Maven","package":"org.apache.activemq:apache-activemq","vulnerableRanges":["<5.19.6"],"patched":["5.19.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-w3w2-mpp5-92gm","url":"https://github.com/advisories/GHSA-w3w2-mpp5-92gm","severity":"HIGH","ecosystem":"Maven","package":"org.apache.activemq:activemq-all","vulnerableRanges":["<5.19.6"],"patched":["5.19.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-w3w2-mpp5-92gm","url":"https://github.com/advisories/GHSA-w3w2-mpp5-92gm","severity":"HIGH","ecosystem":"Maven","package":"org.apache.activemq:activemq-broker","vulnerableRanges":["<5.19.6"],"patched":["5.19.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-w3w2-mpp5-92gm","url":"https://github.com/advisories/GHSA-w3w2-mpp5-92gm","severity":"HIGH","ecosystem":"Maven","package":"org.apache.activemq:apache-activemq","vulnerableRanges":[">=6.0.0, <6.2.5"],"patched":["6.2.5"],"provenance":"source","from":"GHSA"},{"id":"GHSA-w3w2-mpp5-92gm","url":"https://github.com/advisories/GHSA-w3w2-mpp5-92gm","severity":"HIGH","ecosystem":"Maven","package":"org.apache.activemq:activemq-all","vulnerableRanges":[">=6.0.0, <6.2.5"],"patched":["6.2.5"],"provenance":"source","from":"GHSA"},{"id":"GHSA-w3w2-mpp5-92gm","url":"https://github.com/advisories/GHSA-w3w2-mpp5-92gm","severity":"HIGH","ecosystem":"Maven","package":"org.apache.activemq:activemq-broker","vulnerableRanges":[">=6.0.0, <6.2.5"],"patched":["6.2.5"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-25410","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-25410","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-40466","name":"Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass","severity":"high","path":"http/cves/2026/CVE-2026-40466.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-40466.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-04-24","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-40466","provenance":"source"},{"date":"2026-05-07","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.linkedin.com/feed/update/urn:li:activity:7458251406555348992/","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":71.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 177 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.38,"detail":"percentile 0.9192"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.27,"detail":"9 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-apache-activemq-broker-cve-2026-34197","parents":[{"from":"CVE-2026-34197","to":"CVE-2026-40466","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"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 cla…","from":"CVE.org","in":"CVE-2026-40466"},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"5.19.5","toFixed":"5.19.6","daysApart":17},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-all","fromFixed":"5.19.5","toFixed":"5.19.6","daysApart":17},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-33227","published":"2026-04-07","fixed":"6.2.2","kev":false},{"cve":"CVE-2026-34197","published":"2026-04-07","fixed":"6.2.3","kev":true},{"cve":"CVE-2026-39304","published":"2026-04-10","fixed":"6.2.4","kev":false,"link":{"from":"CVE-2026-39304","to":"CVE-2026-40466","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"6.2.4","toFixed":"6.2.5","daysApart":14},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:apache-activemq","fromFixed":"5.19.4","toFixed":"5.19.6","daysApart":14}]}},{"cve":"CVE-2026-40466","published":"2026-04-24","fixed":"6.2.5","kev":false},{"cve":"CVE-2026-41043","published":"2026-04-24","fixed":"6.2.5","kev":false},{"cve":"CVE-2026-41044","published":"2026-04-24","fixed":"6.2.5","kev":false},{"cve":"CVE-2026-42588","published":"2026-06-01","fixed":"6.2.6","kev":false,"link":{"from":"CVE-2026-40466","to":"CVE-2026-42588","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"5.19.6","toFixed":"5.19.7","daysApart":38},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"6.2.5","toFixed":"6.2.6","daysApart":38},{"kind":"similar","provenance":"machine","score":0.69,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-45505","published":"2026-06-01","fixed":"6.2.6","kev":false,"link":{"from":"CVE-2026-40466","to":"CVE-2026-45505","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"5.19.6","toFixed":"5.19.7","daysApart":38},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"6.2.5","toFixed":"6.2.6","daysApart":38},{"kind":"similar","provenance":"machine","score":0.7,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-49270","published":"2026-06-01","fixed":"6.2.6","kev":false,"link":{"from":"CVE-2026-40466","to":"CVE-2026-49270","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"5.19.6","toFixed":"5.19.7","daysApart":38},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.activemq:activemq-broker","fromFixed":"6.2.5","toFixed":"6.2.6","daysApart":38}]}}],"package":"Maven:org.apache.activemq:activemq-broker"}}