Description
The Java OpenWire protocol marshaller is vulnerable to Remote Code
Execution. This vulnerability may allow a remote attacker with network
access to either a Java-based OpenWire broker or client to run arbitrary
shell commands by manipulating serialized class types in the OpenWire
protocol to cause either the client or the broker (respectively) to
instantiate any class on the classpath.
Users are recommended to upgrade
both brokers and clients to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3
which fixes this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache ActiveMQ | 5.18.0 – < 5.18.3, 5.17.0 – < 5.17.6, 5.16.0 – < 5.16.7, < 5.15.16 | 5.18.3 |
| Apache Software Foundation | Apache ActiveMQ Legacy OpenWire Module | 5.18.0 – < 5.18.3, 5.17.0 – < 5.17.6, 5.16.0 – < 5.16.7, 5.8.0 – < 5.15.16 | 5.18.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | activemq | 5.17.6+dfsg-1 | — |
| Debian 12 | activemq | 5.17.2+dfsg-2+deb12u1 | DSA-5798-1 |
| Debian 11 | activemq | 5.16.1-1+deb11u1 | DLA-3936-1 |
| Debian 10 | activemq | 5.15.16-0+deb10u1 | DLA-3657-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | activemq | 5.16.1-1ubuntu0.1 | USN-7268-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | activemq | 5.16.1-1ubuntu0.1~esm1 | USN-6910-1 |
| Ubuntu Pro 20.04 LTS | activemq | 5.15.11-1ubuntu0.1~esm1 | USN-6910-1 |
| Ubuntu Pro 18.04 LTS | activemq | 5.15.8-2~18.04.1~esm1 | USN-6910-1 |
| Ubuntu Pro 16.04 LTS | activemq | 5.13.2+dfsg-2ubuntu0.1~esm1 | USN-6910-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Apache ActiveMQ Unauthenticated Remote Code Execution
exploit/multi/misc/apache_activemq_rce_cve_2023_46604
GitHub 44 repositories · most starred shown
-
SaumyajeetDas/CVE-2023-46604-RCE-Reverse-Shell-Apache-ActiveMQ ★ 126 · Nov 3, 2023
Achieving a Reverse Shell Exploit for Apache ActiveMQ (CVE_2023-46604)
-
Catherines77/ActiveMQ-EXPtools ★ 86 · Apr 20, 2026
Apache ActiveMQ漏洞综合利用工具(CVE-2015-5254,CVE-2016-3088,CVE-2022-41678,CVE-2023-46604,CVE-2024-32114,CVE-2026-34197,CVE-2026-40466, CVE-2026-42588)
-
Arlenhiack/ActiveMQ-RCE-Exploit ★ 44 · Mar 5, 2024
ActiveMQ RCE (CVE-2023-46604) 回显利用工具
-
evkl1d/CVE-2023-46604 ★ 41 · Nov 4, 2023
-
trganda/ActiveMQ-RCE ★ 28 · Oct 26, 2023
CVE-2023-46604
-
duck-sec/CVE-2023-46604-ActiveMQ-RCE-pseudoshell ★ 19 · Nov 12, 2023
This script leverages CVE-2023046604 (Apache ActiveMQ) to generate a pseudo shell. The vulnerability allows for remote code execution due to unsafe deserialization within the OpenWire protocol.
-
justdoit-cai/CVE-2023-46604-Apache-ActiveMQ-RCE-exp ★ 5 · Nov 8, 2023
CVE-2023-46604 Apache ActiveMQ RCE exp 基于python
-
vulncheck-oss/cve-2023-46604 ★ 4 · Apr 17, 2024
A go-exploit for Apache ActiveMQ CVE-2023-46604
-
NKeshawarz/CVE-2023-46604-RCE ★ 4 · Nov 18, 2023
-
h3x3h0g/ActiveMQ-RCE-CVE-2023-46604-Write-up ★ 3 · Nov 9, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache ActiveMQ - Remote Code Execution javascript/cves/2023/CVE-2023-46604.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.activemq:activemq-client | < 5.15.16 | 5.15.16 | GHSA-crg9-44h2-xw35 |
| Maven | org.apache.activemq:activemq-client | >= 5.16.0, < 5.16.7 | 5.16.7 | GHSA-crg9-44h2-xw35 |
| Maven | org.apache.activemq:activemq-client | >= 5.17.0, < 5.17.6 | 5.17.6 | GHSA-crg9-44h2-xw35 |
| Maven | org.apache.activemq:activemq-client | >= 5.18.0, < 5.18.3 | 5.18.3 | GHSA-crg9-44h2-xw35 |
| Maven | org.apache.activemq:activemq-openwire-legacy | >= 5.8.0, < 5.15.16 | 5.15.16 | GHSA-crg9-44h2-xw35 |
| Maven | org.apache.activemq:activemq-openwire-legacy | >= 5.16.0, < 5.16.7 | 5.16.7 | GHSA-crg9-44h2-xw35 |
| Maven | org.apache.activemq:activemq-openwire-legacy | >= 5.17.0, < 5.17.6 | 5.17.6 | GHSA-crg9-44h2-xw35 |
| Maven | org.apache.activemq:activemq-openwire-legacy | >= 5.18.0, < 5.18.3 | 5.18.3 | GHSA-crg9-44h2-xw35 |
Advisories 21
- WID-SEC-2026-2923 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye, und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- ICSA-26-274-01 Armatura LLC Armatura One CISA ICS & IT advisories · Oct 1, 2026
- WID-SEC-2025-0148 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2026-1608 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 19, 2026
- USN-6910-1 activemq vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- WID-SEC-2024-0123 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 7, 2026
- DSA-5798-1 activemq - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3657-1 activemq - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3936-1 activemq - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-7268-1 activemq vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- ICSA-25-044-14 Siemens Opcenter Intelligence CISA ICS & IT advisories · May 6, 2025
- NCSC-2025-0061 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 14, 2025
- SSA-246355 SSA-246355: Multiple Vulnerabilities in Tableau Server Component of Opcenter Intelligence Siemens ProductCERT · Feb 14, 2025
- WID-SEC-2023-2773 Apache ActiveMQ: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Feb 13, 2025
- NCSC-2025-0051 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 11, 2025
- NCSC-2025-0021 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Jan 22, 2025
- ICSA-24-130-03 Delta Electronics InfraSuite Device Master CISA ICS & IT advisories · May 9, 2024
- WID-SEC-2024-0873 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 16, 2024
- SCA-2024-0001 Vulnerability in SICK Logistics Analytics Products and SICK Field Analytics SICK PSIRT · Jan 29, 2024
- WID-SEC-2024-0124 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2024-0106 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
References
- https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt vendor-advisory
- https://www.openwall.com/lists/oss-security/2023/10/27/5
- https://security.netapp.com/advisory/ntap-20231110-0010/
- https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- http://seclists.org/fulldisclosure/2024/Apr/18