CVE-2023-33246
CRITICAL 9.8CVSS 3.1known exploitedApache 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 .
- Published
- 24 May 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-x3cq-8f32-5f63
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-x3cq-8f32-5f63JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | rocketmqcpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* |
< 4.9.6 | 4.9.6 |
| NVD | apache | rocketmqcpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.1.1 | 5.1.1 |
| OSV | Maven | org.apache.rocketmq:rocketmq-broker | >= 5.0.0, < 5.1.1 | 5.1.1 |
| OSV | Maven | org.apache.rocketmq:rocketmq-namesrv | >= 4.0.0, < 4.9.6 | 4.9.6 |
| OSV | Maven | org.apache.rocketmq:rocketmq-controller | >= 5.0.0, < 5.1.1 | 5.1.1 |
| OSV | Maven | org.apache.rocketmq:rocketmq-namesrv | >= 5.0.0, < 5.1.1 | 5.1.1 |
References
- http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://www.openwall.com/lists/oss-security/2023/07/12/1 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp · Mailing List, Vendor Advisory, WEB
- https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247 · Exploit, Third Party Advisory, WEB
- https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT · Exploit, WEB
- https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE · Exploit, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246 · Third Party Advisory, US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-33246 · ADVISORY
- https://github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754d · WEB
- https://github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703 · WEB
- https://github.com/apache/rocketmq · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 24 May 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jul 2023)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 6 Sep 2023)
- 6 Sep 2023 00:00 UTC · Listed as known exploited