Apache Software Foundation Apache ActiveMQ Broker
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans
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
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.19.4
- >= 6.0.0, < 6.2.3
Fixed in 5.19.4, 6.2.3
- < 5.19.4
- >= 6.0.0, < 6.2.3
Fixed in 5.19.4, 6.2.3
- < 5.19.4
- >= 6.0.0, < 6.2.3
Fixed in 5.19.4, 6.2.3
Mitigation
Upgrade Apache ActiveMQ Broker to 5.19.4 or 6.2.3 or later.
Upgrade Apache ActiveMQ All to 5.19.4 or 6.2.3 or later.
Upgrade Apache ActiveMQ to 5.19.4 or 6.2.3 or later.
References
- Vendor advisory activemq.apache.org/security-advisories.data/CVE-2026-3…
Timeline
Days relative to CVE publicationFirst public PoC 1.1 days after publication; added to CISA KEV 9 days after publication. First PoC: dinosn/CVE-2026-34197 (created 8 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.9 PoCs · 4 informational · 2 suspicious or fake
PoCs 9
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dinosn/CVE-2026-34197 | 8 Apr 2026 +1.1 d | 8 | PoC |
| DEVSECURITYSPRO/CVE-2026-34197 | 8 Apr 2026 +1.5 d | 4 | PoC |
| AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE | 9 Apr 2026 +2.1 d | 2 | PoC |
| xshysjhq/CVE-2026-34197-payload-Apache-ActiveMQ- | 20 Apr 2026 +13 d | 1 | PoC |
| rootdirective-sec/CVE-2026-34197-Lab | 8 May 2026 +31 d | 0 | PoC |
| LAT-06/CVE-2026-34197 | 18 May 2026 +41 d | 0 | PoC |
| asdasddqwdq29-a11y/CVE-2026-34197 | 6 Jun 2026 +60 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| pssec-io/CVE-2026-34197 | 8 Jul 2026 +92 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| nirvanasec/CVE-2026-34197-PoC | 4 Sep 2026 +150 d | 0 | PoC via PoC Index |
Informational 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xBlackash/CVE-2026-34197 | 8 Apr 2026 +24 h | 1 | Informational · write-up |
| ashrafzaryouh/CVE-2026-34197 | 8 Apr 2026 +24 h | 1 | Informational · write-up |
| Catherines77/ActiveMQ-EXPtools | 20 Apr 2026 +13 d | 86 | Informational · list |
| dinosn/apache-activemq-rce-research | 4 Jul 2026 +88 d | 9 | Informational · list |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| KONDORDEVSECURITYCORP/CVE-2026-34197 | 9 Apr 2026 +2.5 d | 2 | Fake |
| keraattin/CVE-2026-34197 | 14 Apr 2026 +7.5 d | 2 | Suspicious · score 50
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Apache ActiveMQ RCE via Jolokia addNetworkConnector (exploit/multi/http/apache_activemq_jolokia_rce) | unknown | 14 Nov 2026 |
| nuclei template | nuclei template: Apache ActiveMQ - Remote Code Execution | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 9 PoC reposPOST /api/jolokia/
- Key headers
Accept: application/json,text/plain,*/*Origin: http://{var}:8161Origin: http://127.0.0.1Origin: http://127.0.0.1:8261Origin: http://127.0.0.1:8161Origin: http://127.0.0.1:8081Origin: {var}Origin: http://{var}- Body markers
"type":"read""mbean":"org.apache.activemq:type=Broker,brokerName=localhost""attribute":"BrokerId"inapplication/json- Ports
- 8081, 8082, 8161, 8261, 8888, 9100, 9999
- Seen in
- 9 repos: AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE, DEVSECURITYSPRO/CVE-2026-34197, LAT-06/CVE-2026-34197, asdasddqwdq29-a11y/CVE-2026-34197, dinosn/CVE-2026-34197, nirvanasec/CVE-2026-34197-PoC, pssec-io/CVE-2026-34197, rootdirective-sec/CVE-2026-34197-Lab, xshysjhq/CVE-2026-34197-payload-Apache-ActiveMQ-
- Evidence
- AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE/exp.py:244 DEVSECURITYSPRO/CVE-2026-34197/exploit.py:241 LAT-06/CVE-2026-34197/exploit_poc.py:178 asdasddqwdq29-a11y/CVE-2026-34197/exploit_webshell.py:137 asdasddqwdq29-a11y/CVE-2026-34197/upstream-poc/exploit_poc.py:178 dinosn/CVE-2026-34197/exploit_poc.py:178
GET /api/jolokia/
- Key headers
Origin: http://localhost:8161- Ports
- 8161, 8888, 9999
- Seen in
- 5 repos: AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE, DEVSECURITYSPRO/CVE-2026-34197, LAT-06/CVE-2026-34197, asdasddqwdq29-a11y/CVE-2026-34197, dinosn/CVE-2026-34197
- Evidence
- AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE/exp.py:141 AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE/exp.py:168 DEVSECURITYSPRO/CVE-2026-34197/exploit.py:138 DEVSECURITYSPRO/CVE-2026-34197/exploit.py:165 LAT-06/CVE-2026-34197/README.md:101 LAT-06/CVE-2026-34197/exploit_poc.py:105
GET /api/jolokia/version
- Key headers
Origin: http://127.0.0.1:8081Origin: http://127.0.0.1:8082- Ports
- 8081, 8082, 8161
- Seen in
- 2 repos: nirvanasec/CVE-2026-34197-PoC, rootdirective-sec/CVE-2026-34197-Lab
- Evidence
- nirvanasec/CVE-2026-34197-PoC/README.md:28 rootdirective-sec/CVE-2026-34197-Lab/README.md:131 rootdirective-sec/CVE-2026-34197-Lab/README.md:140
GET /admin/{var}.jsp
- Query
cmd=idcmd=cat /etc/passwd- Ports
- 8161
- Seen in
- 1 repo: asdasddqwdq29-a11y/CVE-2026-34197
- Evidence
- asdasddqwdq29-a11y/CVE-2026-34197/README.md:107 asdasddqwdq29-a11y/CVE-2026-34197/README.md:110
GET /api/jolokia/list/org.apache.activemq:type=Broker,brokerName=localhost
- Ports
- 8161
- Seen in
- 1 repo: nirvanasec/CVE-2026-34197-PoC
- Evidence
- nirvanasec/CVE-2026-34197-PoC/README.md:34
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/jolokia/(?:[?#].*)?$
(?i)^/api/jolokia/(?:[?#].*)?$
(?i)^/api/jolokia/version(?:[?#].*)?$
(?i)^/admin/[^/?#]*\.jsp\?(?:.*&)?cmd=id.*cmd=cat /etc/passwd
(?i)^/api/jolokia/list/org\.apache\.activemq:type=Broker,brokerName=localhost(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8081,8082,8161,8261,8888,9100,9999] (msg:"GG PoC-Monitor CVE-2026-34197 Apache Software Foundation Apache ActiveMQ Broker exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/jolokia/"; http.header; content:"Accept: application/json,text/plain,*/*"; nocase; http.header; content:"Origin: http://"; nocase; http.header; content:"Origin: http://127.0.0.1"; nocase; http.header; content:"Origin: http://127.0.0.1:8261"; nocase; http.header; content:"Origin: http://127.0.0.1:8161"; nocase; http.header; content:"Origin: http://127.0.0.1:8081"; nocase; http.header_names; content:"Origin"; nocase; http.header; content:"Origin: http://"; nocase; http.request_body; content:"|22|type|22|:|22|read|22|"; http.request_body; content:"|22|mbean|22|:|22|org.apache.activemq:type=Broker,brokerName=localhost|22|"; http.request_body; content:"|22|attribute|22|:|22|BrokerId|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-34197; classtype:web-application-attack; sid:9230157; rev:1;)
alert http any any -> $HOME_NET [8161,8888,9999] (msg:"GG PoC-Monitor CVE-2026-34197 Apache Software Foundation Apache ActiveMQ Broker exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/jolokia/"; http.header; content:"Origin: http://localhost:8161"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-34197; classtype:web-application-attack; sid:9558541; rev:1;)
alert http any any -> $HOME_NET [8081,8082,8161] (msg:"GG PoC-Monitor CVE-2026-34197 Apache Software Foundation Apache ActiveMQ Broker exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/jolokia/version"; http.header; content:"Origin: http://127.0.0.1:8081"; nocase; http.header; content:"Origin: http://127.0.0.1:8082"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-34197; classtype:web-application-attack; sid:9784191; rev:1;)
alert http any any -> $HOME_NET [8161] (msg:"GG PoC-Monitor CVE-2026-34197 Apache Software Foundation Apache ActiveMQ Broker exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/"; http.uri; content:".jsp"; http.uri; content:"cmd=id"; http.uri; content:"cmd=cat /etc/passwd"; reference:url,poc.griffinguard.io/cve/CVE-2026-34197; classtype:web-application-attack; sid:9531136; rev:1;)
alert http any any -> $HOME_NET [8161] (msg:"GG PoC-Monitor CVE-2026-34197 Apache Software Foundation Apache ActiveMQ Broker exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/jolokia/list/org.apache.activemq:type=Broker,brokerName=localhost"; reference:url,poc.griffinguard.io/cve/CVE-2026-34197; classtype:web-application-attack; sid:9254072; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache ActiveMQ Broker exploit attempt (CVE-2026-34197)
id: gg-pocmon-cve-2026-34197-9230157
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34197. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34197
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/jolokia/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34197
title: Apache Software Foundation Apache ActiveMQ Broker exploit attempt (CVE-2026-34197)
id: gg-pocmon-cve-2026-34197-9558541
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34197. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34197
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/jolokia/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34197
title: Apache Software Foundation Apache ActiveMQ Broker exploit attempt (CVE-2026-34197)
id: gg-pocmon-cve-2026-34197-9784191
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34197. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34197
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/jolokia/version'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34197
title: Apache Software Foundation Apache ActiveMQ Broker exploit attempt (CVE-2026-34197)
id: gg-pocmon-cve-2026-34197-9531136
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34197. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34197
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/admin/'
- '.jsp'
cs-uri-query|contains|all:
- 'cmd=id'
- 'cmd=cat /etc/passwd'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34197
title: Apache Software Foundation Apache ActiveMQ Broker exploit attempt (CVE-2026-34197)
id: gg-pocmon-cve-2026-34197-9254072
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34197. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34197
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/jolokia/list/org.apache.activemq:type=Broker,brokerName=localhost'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34197