Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
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.
- Published
- Oct 27, 2023
- Updated
- Jun 17, 2026
- EPSS
- 99.9% · 100th percentile
- CWE
- CWE-502
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
99
Now
Patch today or shut off access.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 30 / 30 · 99.9%
CISA SSVC decision
- Exploitation
- active
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 9.8
- CNA · apache
- 10.0
- 0.2 point gap
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Nov 2, 2023. That signals real attacks, not theory.
Remediation deadline for government agencies: Nov 23, 2023.
Known to be used in ransomware campaigns.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apache | activemq | cpe:2.3:a:apache:activemq |
| apache | activemq legacy openwire module | cpe:2.3:a:apache:activemq_legacy_openwire_module |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | e-series santricity unified manager | cpe:2.3:a:netapp:e-series_santricity_unified_manager |
| netapp | e-series santricity web services proxy | cpe:2.3:a:netapp:e-series_santricity_web_services_proxy |
| netapp | santricity storage plugin | cpe:2.3:a:netapp:santricity_storage_plugin |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache activemqbefore 5.15.16
- apache activemq5.16.0 and later · before 5.16.7
- apache activemq5.17.0 and later · before 5.17.6
- apache activemq5.18.0 and later · before 5.18.3
- apache activemq legacy openwire modulebefore 5.15.16
- apache activemq legacy openwire module5.16.0 and later · before 5.16.7
- apache activemq legacy openwire module5.17.0 and later · before 5.17.6
- apache activemq legacy openwire module5.18.0 and later · before 5.18.3
- debian debian linux10.0
- debian debian linux11.0
- netapp e-series santricity unified managerall versions
- netapp e-series santricity web services proxyall versions
- netapp santricity storage pluginall versions
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache ActiveMQ
- 5.18.0 and later · before 5.18.3affected · semver
- 5.17.0 and later · before 5.17.6affected · semver
- 5.16.0 and later · before 5.16.7affected · semver
- before 5.15.16affected · semver
Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module
- 5.18.0 and later · before 5.18.3affected · semver
- 5.17.0 and later · before 5.17.6affected · semver
- 5.16.0 and later · before 5.16.7affected · semver
- 5.8.0 and later · before 5.15.16affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | activemq | before 5.15.16-0+deb10u1 | 5.15.16-0+deb10u1 |
| Debian:11 | activemq | before 5.16.1-1+deb11u1 | 5.16.1-1+deb11u1 |
| Debian:12 | activemq | before 5.17.2+dfsg-2+deb12u1 | 5.17.2+dfsg-2+deb12u1 |
| Debian:13 | activemq | before 5.17.6+dfsg-1 | 5.17.6+dfsg-1 |
| Maven | org.apache.activemq:activemq-client | from 5.16.0 · before 5.16.7 | 5.16.7 |
| Maven | org.apache.activemq:activemq-client | from 5.17.0 · before 5.17.6 | 5.17.6 |
| Maven | org.apache.activemq:activemq-client | from 5.18.0 · before 5.18.3 | 5.18.3 |
| Maven | org.apache.activemq:activemq-client | before 5.15.16 | 5.15.16 |
| Maven | org.apache.activemq:activemq-openwire-legacy | from 5.16.0 · before 5.16.7 | 5.16.7 |
| Maven | org.apache.activemq:activemq-openwire-legacy | from 5.17.0 · before 5.17.6 | 5.17.6 |
| Maven | org.apache.activemq:activemq-openwire-legacy | from 5.18.0 · before 5.18.3 | 5.18.3 |
| Maven | org.apache.activemq:activemq-openwire-legacy | from 5.8.0 · before 5.15.16 | 5.15.16 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-3088The Fileserver web application in Apache ActiveMQ 5.x before 5.14.0 allows remote attackers to upload and execute arbitrary files via an HTTKEV99Now
- CVE-2026-34197Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeansKEV70This week
- CVE-2022-41678Apache ActiveMQ: Insufficient API restrictions on Jolokia allow authenticated users to perform RCE61This week
- CVE-2020-11998A regression has been introduced in the commit preventing JMX re-bind.54Plan
- CVE-2015-5254Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remote attackers to execu50Plan
- CVE-2020-13947An instance of a cross-site scripting vulnerability was identified to be present in the web based administration console on the message.jsp 48Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Apache Software Foundation Apache ActiveMQ | 5.15.16 | Vendor (CNA) |
| Apache Software Foundation Apache ActiveMQ | 5.16.7 | Vendor (CNA) |
| Apache Software Foundation Apache ActiveMQ | 5.17.6 | Vendor (CNA) |
| Apache Software Foundation Apache ActiveMQ | 5.18.3 | Vendor (CNA) |
| Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module | 5.15.16 | Vendor (CNA) |
| Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module | 5.16.7 | Vendor (CNA) |
| Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module | 5.17.6 | Vendor (CNA) |
| Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module | 5.18.3 | Vendor (CNA) |
| Debian:activemq | 5.17.2+dfsg-2+deb12u1 · Debian:12 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-client | 5.15.16 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-client | 5.16.7 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-client | 5.17.6 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-client | 5.18.3 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-openwire-legacy | 5.15.16 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-openwire-legacy | 5.16.7 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-openwire-legacy | 5.17.6 | Package registry (OSV) |
| Maven:org.apache.activemq:activemq-openwire-legacy | 5.18.3 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×39
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | exploit/multi/misc/apache_activemq_rce_cve_2023_46604Apache ActiveMQ Unauthenticated Remote Code Executionexploit | 2023-10-27 |
| Nuclei detection template | Nuclei template CVE-2023-46604 | — |
| Proof-of-concept repository on GitHub | stars:45 | 2024-03-05 |
| Proof-of-concept repository on GitHub | stars:28 | 2023-10-26 |
| Proof-of-concept repository on GitHub | stars:126 | 2023-11-03 |
| Proof-of-concept repository on GitHub | stars:41 | 2023-11-04 |
| Proof-of-concept repository on GitHub | stars:5 | 2023-11-08 |
| Proof-of-concept repository on GitHub | stars:3 | 2023-11-09 |
| Proof-of-concept repository on GitHub | stars:19 | 2023-11-12 |
| Proof-of-concept repository on GitHub | stars:0 | 2023-11-15 |
| Proof-of-concept repository on GitHub | stars:2 | 2023-11-16 |
| Proof-of-concept repository on GitHub | stars:4 | 2023-11-18 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-1 d
- Metasploitsame day
- Published
- CISA KEV+6 d
- TodaySep 29, 2026+1068 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-502 · Deserialization of Untrusted DataCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
Data received over the network is deserialized into the language’s native object format without verifying its source. Code paths inside the object can be triggered during deserialization.
The bug in code
The whole CWE-502 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
payload = sock.recv(65536)job = pickle.loads(payload)Fixed
payload = sock.recv(65536)if not hmac.compare_digest(sign(payload), header_sig): raise PermissionError("invalid signature")job = JobSchema.validate(json.loads(payload))Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- seclists.org/fulldisclosure/2024/Apr/18
- activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt
- lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- security.netapp.com/advisory/ntap-20231110-0010/
- www.openwall.com/lists/oss-security/2023/10/27/5
- lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604
Vendor advisories and official records. Exploit/PoC links are deliberately left out.