cve.bz

CVE-2026-45505 apache: Code Injection

8.8 highEPSS 0.6%Fix available

High (8.8) in apache. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.activemq:activemq-broker 5.19.7, 6.2.6.

On this page
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. Non-parenthesized discovery wrappers such as `masterslave:vm://...,...` and `static:vm://...` incorrectly pass validation allowing bypass of fix in CVE-2026-34197.  Original description from CVE-2026-34197. Apache ActiveMQ exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery UR that triggers 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.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.

Severity

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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45505 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45505?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45505?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45505 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache ActiveMQ Brokerbefore 5.19.7
Apache Software Foundation Apache ActiveMQ Brokerfrom 6.0.0 before 6.2.6
Apache Software Foundation Apache ActiveMQ Allbefore 5.19.7
Apache Software Foundation Apache ActiveMQ Allfrom 6.0.0 before 6.2.6
Apache Software Foundation Apache ActiveMQbefore 5.19.7
Apache Software Foundation Apache ActiveMQfrom 6.0.0 before 6.2.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v853-w46p-fv2hMavenorg.apache.activemq:activemq-broker<5.19.75.19.7
GHSA-v853-w46p-fv2hMavenorg.apache.activemq:activemq-broker>=6.0.0 <6.2.66.2.6
GHSA-v853-w46p-fv2hMavenorg.apache.activemq:activemq-all<5.19.75.19.7
GHSA-v853-w46p-fv2hMavenorg.apache.activemq:activemq-all>=6.0.0 <6.2.66.2.6
GHSA-v853-w46p-fv2hMavenorg.apache.activemq:apache-activemq<5.19.75.19.7
GHSA-v853-w46p-fv2hMavenorg.apache.activemq:apache-activemq>=6.0.0 <6.2.66.2.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13activemqno fix listedDEBIAN-CVE-2026-45505
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 moreactivemqno fix listedUBUNTU-CVE-2026-45505

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat products ship Apache ActiveMQ Classic components as transitive dependencies. The vulnerability is an authenticated RCE via Jolokia JMX-over-HTTP on the Classic ActiveMQ web console, bypassing the fix for CVE-2026-34197. The Classic web console with Jolokia is not deployed in any Red Hat product — Red Hat Fuse 7 removed the embedded broker in version 7.0 and ships only client JARs. Red Hat AMQ Broker is based on Apache ActiveMQ Artemis with its own management interface. The Jolokia attack surface does not exist in Red Hat product deployments.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7activemq-artemis-nativeFix deferred
Red Hat AMQ Broker 7activemq-clientFix deferred
Red Hat AMQ Broker 7activemq-openwire-legacyFix deferred
Red Hat AMQ Broker 7apache-artemisFix deferred
Red Hat AMQ Broker 7artemis-amqp-protocolFix deferred
Red Hat AMQ Broker 7artemis-bootFix deferred
Red Hat AMQ Broker 7artemis-cliFix deferred
Red Hat AMQ Broker 7artemis-commonsFix deferred
Red Hat AMQ Broker 7artemis-consoleFix deferred
Red Hat AMQ Broker 7artemis-console-warFix deferred
Red Hat AMQ Broker 7artemis-core-clientFix deferred
Red Hat AMQ Broker 7artemis-dtoFix deferred
Red Hat AMQ Broker 7artemis-hornetq-protocolFix deferred
Red Hat AMQ Broker 7artemis-hqclient-protocolFix deferred
Red Hat AMQ Broker 7artemis-jdbc-storeFix deferred
Red Hat AMQ Broker 7artemis-jms-clientFix deferred
Red Hat AMQ Broker 7artemis-jms-serverFix deferred
Red Hat AMQ Broker 7artemis-journalFix deferred
Red Hat AMQ Broker 7artemis-lockmanager-apiFix deferred
Red Hat AMQ Broker 7artemis-lockmanager-riFix deferred
94 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45505.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON