CVE-2023-33246
Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.
Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.
To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.
Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.
To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .
- Record
CVE-2023-33246- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE List
9.8
Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.
Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.
To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .
- Record
CVE-2023-33246- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2023-2175
9.8
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.
Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.
To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .
- Record
EUVD-2023-2175- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-x3cq-8f32-5f63
9.8
Apache RocketMQ may have remote code execution vulnerability when using update configuration function
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.
Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.
To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .
- Record
GHSA-x3cq-8f32-5f63- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H - Weakness
- CWE-94
- Updated
- 2026-11-02
CISA KEV No score
Apache RocketMQ Command Execution Vulnerability
Several components of Apache RocketMQ, including NameServer, Broker, and Controller, are exposed to the extranet and lack permission verification. An attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as or achieve the same effect by forging the RocketMQ protocol content.
- Record
CVE-2023-33246- Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
9.8
Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.
Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.
To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .
- Record
CVE-2023-33246- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
OSVGHSA-x3cq-8f32-5f63
9.8
Apache RocketMQ may have remote code execution vulnerability when using update configuration function
For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.
Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.
To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .
- Record
GHSA-x3cq-8f32-5f63- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H - Weakness
- CWE-94
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.rocketmq:rocketmq-brokerMaven |
5.0.0 up to 5.1.1 | 5.1.1 |
org.apache.rocketmq:rocketmq-namesrvMaven |
4.0.0 up to 4.9.6 | 4.9.6 |
org.apache.rocketmq:rocketmq-controllerMaven |
5.0.0 up to 5.1.1 | 5.1.1 |
org.apache.rocketmq:rocketmq-namesrvMaven |
5.0.0 up to 5.1.1 | 5.1.1 |
org.apache.rocketmq:rocketmq-brokerMaven |
5.0.0 up to 5.1.1, plus listed versions 5.0.0-PREVIEW5.1.0 |
5.1.1 |
org.apache.rocketmq:rocketmq-namesrvMaven |
4.0.0 up to 4.9.6, plus listed versions 4.0.0-incubating4.1.0-incubating4.2.04.3.04.3.1 Show 16 moreShow less4.3.24.4.04.5.04.5.14.5.24.6.04.6.14.7.04.7.14.8.04.9.04.9.14.9.24.9.34.9.44.9.5 |
4.9.6 |
org.apache.rocketmq:rocketmq-controllerMaven |
5.0.0 up to 5.1.1, plus listed versions 5.1.0 |
5.1.1 |
org.apache.rocketmq:rocketmq-namesrvMaven |
5.0.0 up to 5.1.1, plus listed versions 5.0.0-PREVIEW5.1.0 |
5.1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | Apache RocketMQ update config RCE | 2023-05-23 |
| PoC in GitHub | I5N0rth/CVE-2023-33246 | 2023-05-30 |
| PoC in GitHub | 4mazing/CVE-2023-33246-Copy | 2023-05-31 |
| PoC in GitHub | Le1a/CVE-2023-33246 | 2023-06-01 |
| PoC in GitHub | Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT | 2023-06-01 |
| PoC in GitHub | SuperZero/CVE-2023-33246 | 2023-06-01 |
| PoC in GitHub | P4x1s/CVE-2023-33246 | 2023-06-02 |
| PoC in GitHub | d0rb/CVE-2023-33246 | 2023-08-11 |
| PoC in GitHub | vulncheck-oss/fetch-broker-conf | 2023-09-04 |
| PoC in GitHub | 0xKayala/CVE-2023-33246 | 2023-10-28 |
Show 5 moreShow less
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | MkJos/CVE-2023-33246_RocketMQ_RCE_EXP | 2023-12-26 |
| PoC in GitHub | Sumitpathania03/Apache-RocketMQ-CVE-2023-33246- | 2024-03-28 |
| PoC in GitHub | PavilionQ/CVE-2023-33246-mitigation | 2024-06-29 |
| PoC in GitHub | shoucheng3/apache__rocketmq_CVE-2023-33246_5-1-0 | 2025-08-17 |
| Nuclei | RocketMQ <= 5.1.0 - Remote Code Execution |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation, exploits | ||
| first indexed | CVE List, EUVD, GitHub Advisories, CISA KEV, Metasploit, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-33246 is a critical vulnerability (CVSS 9.8) in Apache Rocketmq, published May 24, 2023. CISA lists it as known to be exploited, since September 6, 2023. EUVD reports exploitation since September 6, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 96.6%, the 99th percentile. Fixed in org.apache.rocketmq:rocketmq-broker 5.1.1.
References
lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp
packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html
openwall.com/lists/oss-security/2023/07/12/1
vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247
github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT
github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE
Show 7 moreShow less
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246
nvd.nist.gov/vuln/detail/CVE-2023-33246
github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754d
github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703
github.com/advisories/GHSA-x3cq-8f32-5f63
github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33246.json
github.com/apache/rocketmq