{"schemaVersion":3,"id":"CVE-2026-40466","aliases":["UBUNTU-CVE-2026-40466","DEBIAN-CVE-2026-40466","CGA-2h76-5jw5-39wj","CGA-3j8f-8cm5-6w7j","CGA-3xh6-j2c9-mjmq","CGA-4mp8-6cpg-qc9w","CGA-5c6c-f72r-pwpr","CGA-5cf4-ghwc-3v97","CGA-5wqm-6rfj-f37p","CGA-64h2-rhqf-xmx6","CGA-6fc8-696j-m49g","CGA-89hf-r94m-685r","CGA-8g8c-6gh8-7vcw","CGA-8v4h-3r6f-3xjh","CGA-pmqv-f7vj-4xwg","GHSA-w3w2-mpp5-92gm","BIT-activemq-2026-40466","CGA-q69m-342q-r5cp","CGA-qc82-j69v-mpv7","CGA-rj48-9ggj-6wfw","CGA-rp6j-7hwv-r5xj","CGA-wwf4-57w4-5fxp","CGA-wx9m-w5xf-28qp","CGA-x3rh-fg4m-9gq7"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-04-24T10:15:44.445Z","modified":"2026-07-15T01:00:57.571Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.04105,"percentile":0.90634,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.6779999999999995,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.04783},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04105,"percentile":0.90634}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04783,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04105,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04105,"percentile":0.90634}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"apache software foundation","product":"apache activemq","name":"Apache ActiveMQ","label":"apache activemq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_activemq"},{"vendor":"apache software foundation","product":"apache activemq all","name":"Apache ActiveMQ All","label":"apache activemq all","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_activemq_all"},{"vendor":"apache software foundation","product":"apache activemq broker","name":"Apache ActiveMQ Broker","label":"apache activemq broker","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_activemq_broker"},{"vendor":"apache","product":"activemq","name":"ActiveMQ","label":"activemq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-activemq","label":"Apache ActiveMQ Classic","category":"server-app"}},"hubHref":"/vendor/apache/activemq"},{"vendor":"apache","product":"activemq_broker","name":"activemq broker","label":"activemq_broker","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":null,"hubHref":"/vendor/apache/activemq_broker"},{"vendor":"chainguard","product":"apache-activemq-6.1","name":"apache-activemq-6.1","label":"apache-activemq-6.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-activemq-6.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-activemq-fips-6.1","name":"apache-activemq-fips-6.1","label":"apache-activemq-fips-6.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-activemq-fips-6.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"geoserver-2.27-community","name":"geoserver-2.27-community","label":"geoserver-2.27-community","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/geoserver-2.27-community","purlType":"apk","versions":[{"text":"< 2.27.5-r9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.27.5-r9","eol":null,"hubHref":null},{"vendor":"chainguard","product":"geoserver-2.28-community","name":"geoserver-2.28-community","label":"geoserver-2.28-community","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/geoserver-2.28-community","purlType":"apk","versions":[{"text":"< 2.28.3-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.28.3-r7","eol":null,"hubHref":null},{"vendor":"debian","product":"activemq","name":"activemq","label":"activemq","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/activemq","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"activemq","name":"activemq","label":"activemq","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/activemq","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.activemq","product":"activemq-all","name":"org.apache.activemq:activemq-all","label":"activemq-all","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.activemq/activemq-all","purlType":"maven","versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":null,"hubHref":null},{"vendor":"org.apache.activemq","product":"activemq-broker","name":"org.apache.activemq:activemq-broker","label":"activemq-broker","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.activemq/activemq-broker","purlType":"maven","versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":null,"hubHref":null},{"vendor":"org.apache.activemq","product":"apache-activemq","name":"org.apache.activemq:apache-activemq","label":"apache-activemq","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.activemq/apache-activemq","purlType":"maven","versions":[{"text":"< 5.19.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.19.6 | ≥ 6.0.0, < 6.2.5","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt","label":"activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt","hostname":"activemq.apache.org","tags":["Vendor Advisory","Advisory","WEB","Not Applicable"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40466","label":"access.redhat.com/security/cve/CVE-2026-40466","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2461410","label":"bugzilla.redhat.com/show_bug.cgi?id=2461410","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40466.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40466.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-40466","label":"ubuntu.com/security/CVE-2026-40466","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40466","label":"www.cve.org/CVERecord?id=CVE-2026-40466","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/04/23/4","label":"www.openwall.com/lists/oss-security/2026/04/23/4","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40466","label":"security-tracker.debian.org/tracker/CVE-2026-40466","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://repo.maven.apache.org/maven2","label":"repo.maven.apache.org/maven2","hostname":"repo.maven.apache.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40466.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40466.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40466","label":"nvd.nist.gov/vuln/detail/CVE-2026-40466","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/activemq","label":"github.com/apache/activemq","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-3RGM-946G-M52H"]},"timeline":[{"kind":"published","date":"2026-04-24T10:15:44.445Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:00:57.571Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T03:49:56.122Z","stale":false,"partial":false}}