CriticalCVE-2026-34197

    Apache ActiveMQ Improper Input Validation Vulnerability (CVE-2026-34197)

    Published Last modified In CISA KEV since Sources: SingCERT, CVE.org, EUVD, pwn.watch, OSV, BSI

    What is affected, what to do

    Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console.

    The vulnerability is being actively exploited; treat it as a priority. Update Apache ActiveMQ Broker to version 5.19.4, Apache ActiveMQ Broker to version 6.2.3, Apache ActiveMQ All to version 5.19.4. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • Apache ActiveMQ Broker lt *..5.19.4
    • Apache ActiveMQ Broker lt 6.0.0..6.2.3
    • Apache ActiveMQ All lt *..5.19.4
    • Apache ActiveMQ All lt 6.0.0..6.2.3
    • Apache ActiveMQ lt *..5.19.4
    • Apache ActiveMQ lt 6.0.0..6.2.3
    Fixed in
    • Apache ActiveMQ Broker 5.19.4
    • Apache ActiveMQ Broker 6.2.3
    • Apache ActiveMQ All 5.19.4
    • Apache ActiveMQ All 6.2.3
    • Apache ActiveMQ 5.19.4
    • Apache ActiveMQ 6.2.3

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    8.8

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    8.8

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: SingCERT, CVE.org, EUVD, pwn.watch, OSV, BSI

    98.3 %

    EPSS score

    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.

    Source: FIRST EPSS, percentile 99.92

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    239.84 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploitedSource: VulnCheck KEV (opens in a new tab) How we classify
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    8.8 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    8.8
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    98.3 %
    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    99.92
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    CISA assessment (SSVC)
    Exploitation: active · not automatable · Technical impact: total
    Source: CISA Vulnrichment, as of 17 April 2026
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-20, CWE-94, CWE-78

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This CVE sits on KEV because an authenticated web-console user can achieve full remote code execution on the broker JVM through a default-enabled HTTP endpoint — typically with the privileges of a central integration service wired into many back-end systems. Attackers routinely chain weak or default console credentials with the Jolokia path, so any ActiveMQ instance with a reachable console must be treated as highly exposed, and the exploitation likelihood sits in the top band. Rank remediation as: (1) brokers with internet-facing or flat-network consoles — emergency patch within 24 h; (2) internal brokers using shared admin credentials — patch within the next standard change window; (3) embedded brokers inside applications — track via dependency scans and ship with the next application release. Even without the CISA ransomware flag, the asset is an attractive pivot into ERP, OT/SCADA and B2B integration estates.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Patch now: upgrade Apache ActiveMQ to 5.19.4 (5.x branch) or 6.2.3 (6.x branch). Applies equally to Broker, "All" distribution and Classic. Rolling upgrade across a network-of-brokers is supported but document the order.
      • If patching has to wait: block the /api/jolokia/ endpoint and the web console at the reverse proxy, ingress controller or local firewall. Permit access only from a dedicated management network, never from production or internet-facing zones.
      • Harden the Jolokia access policy: edit jolokia-access.xml inside the web-console WAR and explicitly deny exec operations against org.apache.activemq:* MBeans (<deny><mbean><name>org.apache.activemq:*</name><operation>*</operation></mbean></deny>), then redeploy the console.
      • Inventory every account that can reach the web console (activemq.xml, users.properties, jetty-realm.properties), remove any default credentials (admin:admin) and rotate passwords. Authenticated access is the exploitation prerequisite.
      • Inspect broker JVMs for active Spring-XML loads from external sources (running processes, outbound HTTP(S) from the broker process). On suspicion, isolate the broker, capture heap and thread dumps, and treat as compromise.
      • CMDB sweep: find every ActiveMQ instance including embedded brokers inside Java applications, container images and legacy integration servers. Rebuild container images in the registry — do not just restart running pods.
    2. Runbook step 2

      Mitigation layers

      • Network segmentation: expose the Jolokia path /api/jolokia/* and the web-console port (default 8161/TCP) only to a defined admin VLAN. Keep OpenWire (61616/TCP), AMQP (5672), MQTT (1883) and STOMP (61613) open for message clients, management strictly separated.
      • WAF / reverse-proxy rule: block HTTP requests to /api/jolokia/ carrying "type":"EXEC" or any MBean parameter containing addNetworkConnector, addConnector, brokerConfig or xbean: in the JSON body. Alternatively drop all requests matching /api/jolokia/exec/org.apache.activemq:*.
      • Jolokia policy on allowlist: whitelist only the read operations monitoring actually needs (QueueSize, EnqueueCount, etc.). Combine with egress filtering so the broker host cannot fetch external HTTP/HTTPS, preventing ResourceXmlApplicationContext from loading remote XML.
      • Endpoint hardening: run the broker JVM under a dedicated UID with no shell, enforce an SELinux/AppArmor profile that blocks fork/exec of sh, bash, curl, wget from the Java process. On Windows: Software Restriction Policy or WDAC against child processes of the ActiveMQ service.
      • IAM least privilege: distinct roles for message clients and web-console users, admin access via an MFA jump host only. Application service accounts must not be allowed to log into the console.
      • Snort/Suricata: alert and drop on HTTP URI /api/jolokia/ combined with content brokerConfig=xbean: or addNetworkConnector.
    3. Runbook step 3

      Detection rules

      • Web-server / Jetty access log: requests to /api/jolokia/exec/org.apache.activemq:* or POSTs to /api/jolokia/ returning HTTP 200, especially from non-management source IPs. KQL sketch: W3CIISLog | where csUriStem has "/api/jolokia/" and csMethod == "POST".
      • Sysmon EID 1 / auditd execve: process ancestry showing java spawning /bin/sh, cmd.exe, powershell.exe, curl, wget, base64 as a child of the ActiveMQ broker. Sigma shape: parent_image|endswith: 'java' AND command line containing shell primitives, with ActiveMQ context.
      • Network telemetry (Zeek http.log): outbound HTTP(S) GETs from the broker host to external URLs returning text/xml or ending in .xml — a signature of a loaded Spring context. Baseline: a broker normally talks to clients, not outbound to the web.
      • ActiveMQ broker log (activemq.log): entries referencing ResourceXmlApplicationContext, brokerConfig, addNetworkConnector or stack traces from org.springframework.context.support occurring after startup.
      • EDR: new persistent outbound connections from the JVM to broker peers that are not in configured network connectors (unexpected OpenWire sessions after an addNetworkConnector call). Alert on netstat deltas per broker.

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ Classic 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 URI 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.4, from 6.0.0 before 6.2.3; Apache ActiveMQ All: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.3. Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue

    Source: CSA/SingCERT, cvelistv5, ENISA EUVD, NVD (NIST), pwn.watch, OSV (Open Source Vulnerabilities), CISA KEV Catalog, CVE.org (MITRE), BSI WID Portal, BSI CSAF

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    Apache Software FoundationApache ActiveMQ
    • 6.0.0 – < 6.2.3
    • < 5.19.4
    • 6.2.3
    • 5.19.4
    Apache Software FoundationApache ActiveMQ All
    • < 5.19.4
    • 6.0.0 – < 6.2.3
    • 5.19.4
    • 6.2.3
    Apache Software FoundationApache ActiveMQ Broker
    • 6.0.0 – < 6.2.3
    • < 5.19.4
    • 6.2.3
    • 5.19.4
    apacheactivemq
    • 6.0.0 – < 6.2.3
    • < 5.19.4
    • 6.2.3
    • 5.19.4
    apacheactivemq_broker
    • < 5.19.4
    • 6.0.0 – < 6.2.3
    • 5.19.4
    • 6.2.3
    ApacheActiveMQ
    • < 5.19.3
    • < 6.2.3
    • < 6.2.2
    • < 5.19.4
    • 5.19.3
    • 6.2.3
    • 6.2.2
    • 5.19.4
    ApacheActiveMQ Broker
    • < 6.2.3
    • < 6.2.2
    • < 5.19.3
    • < 5.19.4
    • 6.2.3
    • 6.2.2
    • 5.19.3
    • 5.19.4
    IBMQRadar SIEM
    • <7.5.0 UP15 IF06
    • —
    mavenorg.apache.activemq:activemq-all
    • 5.1.0
    • 5.15.6
    • 5.18.2
    • 5.7.0
    • 5.16.8
    • 5.16.0
    • 5.14.1
    • 5.8.0
    • 5.4.0
    • 5.18.0
    • 6.1.7
    • 5.14.3
    • 5.6.0
    • 5.4.3
    • 6.0.1
    • 5.15.1
    • 6.1.0
    • 6.0.0
    • 5.13.0
    • 5.12.1
    • 5.16.5
    • 5.10.0
    • 5.11.2
    • 5.14.0
    • 5.13.4
    • 5.16.3
    • 5.17.4
    • 6.1.1
    • 5.16.2
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —

    Vendors and products

    Weakness classes (CWE)

    • CWE-20Improper Input Validation

      Class

      The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

      Entry at MITRE CWE-20
    • CWE-94Improper Control of Generation of Code ('Code Injection')

      Base

      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.

      Entry at MITRE CWE-94
    • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

      Base

      The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

      Entry at MITRE CWE-78

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    PoC-in-GitHub (nomi-sec)CVE-2026-34197 (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2026-34197 (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)apache-activemq-rce-research (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2026-34197 (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2026-34197 (opens in a new tab)github.comPoC (publicly reported)reported, not verified

    References & sources

    • NVD (NIST)NVD: CVE-2026-34197advisory, pwn-watch
    • activemq.apache.orgApache ActiveMQ — CVE-2026-34197web, Vendor advisory, pwn-watch, Vendor advisory
    • github.comapache/activemqpackage
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34197web, government-resource, US government resource
    • openwall.comlists/oss-security/2026/04/06/3web, Mailing list, Third-party advisory
    • access.redhat.comsecurity/cve/CVE-2026-34197Vulnerability database, x_refsource_REDHAT, Third-party advisory
    • bugzilla.redhat.comRHBZ#2455869Issue tracking, x_refsource_REDHAT, Third-party advisory
    • security.access.redhat.comdata/csaf/v2/vex/2026/cve-2026-34197.jsonx_sadp-csaf-vex, Third-party advisory
    • pwn.watchpwn.watch: Apache ActiveMQ: Apache ActiveMQ Improper Input Validation Vulnerabilitypwn-watch
    • cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch

    Changes to this CVE

    Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).

    1. Record modifiedRed Hat ADP

      1 individual change: Affected versions (publisher)

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)changed
      Red Hat AMQ Broker 7, Red Hat Data Grid 8, Red Hat Enterprise Linux 8 (+6)
      Red Hat AMQ Broker 7, Red Hat Data Grid 8, Red Hat Enterprise Linux 8 (+6)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    2. NVD analysis modifiedNVD

      Show 3 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Reference typeadded
      —
      redhat-SADP: https://access.redhat.com/security/cve/CVE-2026-34197 Types: Third Party Advisory
      Reference typeadded
      —
      redhat-SADP: https://bugzilla.redhat.com/show_bug.cgi?id=2455869 Types: Third Party Advisory
      Reference typeadded
      —
      redhat-SADP: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34197.json Types: Third Party Advisory

      Source identifier: nvd@nist.gov

    One NVD translation into another language is hidden.

    Linked advisories

    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2026-34197
    <a href="https://intel.neosec.eu/en/cve/CVE-2026-34197"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-34197.svg?lang=en" alt="CVE-2026-34197 – NEOSEC Intel" height="20"></a>