CVE-2023-33246 — Vulnerability in rocketmq-controller — CVE Details
Apache RocketMQ may have remote code execution vulnerability when using update configuration function
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Does your project use an affected org.apache.rocketmq:rocketmq-controller version?
Paste your pom.xml to check it for CVE-2023-33246 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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 .
Advisory Timeline
- First published July 6, 2023 (1239 days ago).
- Last revised October 22, 2025 — 839 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 61 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 5.1.1 for org.apache.rocketmq:rocketmq-controller -->
<!-- Update pom.xml dependency version to 4.9.6 for org.apache.rocketmq:rocketmq-namesrv -->
<!-- Update pom.xml dependency version to 5.1.1 for org.apache.rocketmq:rocketmq-namesrv -->
<!-- Update pom.xml dependency version to 5.1.1 for org.apache.rocketmq:rocketmq-broker -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (3).
| Package | Fixed In |
|---|---|
| org.apache.rocketmq:rocketmq-controller Maven · Affected: 5.0.0, 5.1.0 | 5.1.1 |
| org.apache.rocketmq:rocketmq-namesrv Maven · Affected: 4.0.0-incubating, 4.1.0-incubating, 4.2.0, 4.3.0 (+17 more) | 4.9.6 |
| org.apache.rocketmq:rocketmq-namesrv Maven · Affected: 5.0.0, 5.0.0-PREVIEW, 5.1.0 | 5.1.1 |
| org.apache.rocketmq:rocketmq-broker Maven · Affected: 5.0.0, 5.0.0-PREVIEW, 5.1.0 | 5.1.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-33246ADVISORY
- https://github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754dWEB
- https://github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703WEB
- https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOITWEB
- https://github.com/apache/rocketmqPACKAGE
- https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCEWEB
- https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxypWEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246WEB
- https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247WEB
- https://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.htmlWEB
- https://www.openwall.com/lists/oss-security/2023/07/12/1WEB
Frequently Asked Questions
- What is CVE-2023-33246?
- Apache RocketMQ may have remote code execution vulnerability when using update configuration function. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-33246?
- CVE-2023-33246 affects org.apache.rocketmq:rocketmq-controller, org.apache.rocketmq:rocketmq-namesrv and org.apache.rocketmq:rocketmq-broker. It has a 83.6% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-33246 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: September 6, 2023
Remediation deadline: September 27, 2023
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2023-37582CRITICAL
RocketMQ NameServer component Code Injection vulnerability
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host