CVE-2023-33246 is a critical-severity (CVSS 9.8) Code Injection vulnerability in org.apache.rocketmq:rocketmq-broker. It is in CISA's Known Exploited Vulnerabilities catalog (added 2023-09-06) — treat it as actively exploited and patch now. A fix is available for org.apache.rocketmq:rocketmq-broker — see the affected versions and patch details below.
Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2023-09-06. Federal agencies were required to remediate by 2023-09-27.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2023-33246.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2023-33246 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,415 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.apache.rocketmq:rocketmq-broker☕org.apache.rocketmq:rocketmq-namesrv☕org.apache.rocketmq:rocketmq-controller☕org.apache.rocketmq:rocketmq-namesrvReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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 .
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.rocketmq:rocketmq-broker | ≥ 5.0.0&&< 5.1.1 | 5.1.1org.apache.rocketmq:rocketmq-broker:5.1.1 |
| ☕Maven | org.apache.rocketmq:rocketmq-namesrv | ≥ 4.0.0&&< 4.9.6 | 4.9.6org.apache.rocketmq:rocketmq-namesrv:4.9.6 |
| ☕Maven | org.apache.rocketmq:rocketmq-controller | ≥ 5.0.0&&< 5.1.1 | 5.1.1org.apache.rocketmq:rocketmq-controller:5.1.1 |
| ☕Maven | org.apache.rocketmq:rocketmq-namesrv | ≥ 5.0.0&&< 5.1.1 | 5.1.1org.apache.rocketmq:rocketmq-namesrv:5.1.1 |
Affected Products
rocketmqapacheResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
For RocketMQ versions 5.1.0 and below, under certain conditions, there i…
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.rocketmq:rocketmq-broker, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.rocketmq:rocketmq-broker to 5.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-33246 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is CVE-2023-33246 in your dependencies?
Find it across Maven, including transitive dependencies.