CVE-2023-33246org.apache.rocketmq:rocketmq-broker >= 5.0.0, Code Injection
NVD
Vulnerability Summary
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 .
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 .
CVSS v3.1 Base Metrics — Score 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- org.apache.rocketmq:rocketmq-broker >= 5.0.0, < 5.1.1
- org.apache.rocketmq:rocketmq-namesrv >= 4.0.0, < 4.9.6
- org.apache.rocketmq:rocketmq-controller >= 5.0.0, < 5.1.1
- org.apache.rocketmq:rocketmq-namesrv >= 5.0.0, < 5.1.1
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Sep 27, 2023.
- Check whether you run org.apache.rocketmq:rocketmq-broker >= 5.0.0, and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- Review logs and exposed services for signs of earlier compromise.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA KEV Status
Listed in Known Exploited Vulnerabilities
Added: Sep 6, 2023
Remediation due: Sep 27, 2023 (deadline passed)
Remediation due: Sep 27, 2023 (deadline passed)
Timeline
- May 24, 2023Published
- Sep 6, 2023Added to CISA KEV catalog
- Sep 27, 2023KEV remediation due date
- Oct 22, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new org.apache.rocketmq:rocketmq-broker >= 5.0.0, CVEsYou are reading CVE-2023-33246. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
- CVE Recordhttps://nvd.nist.gov/vuln/detail/CVE-2023-33246
- Referencehttps://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp
- Patchhttps://github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754d
- Patchhttps://github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703
- Exploithttp://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html
- Advisoryhttp://www.openwall.com/lists/oss-security/2023/07/12/1
- Referencehttps://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247
- Referencehttps://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT
- Referencehttps://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE
- Advisoryhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246
- Referencehttps://github.com/advisories/GHSA-x3cq-8f32-5f63
Data last checked: Sep 23, 2026 16:58 UTC