# CVE-2023-33246: Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2023-09-06. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 96.6%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2023-05-24T14:45:25.684Z
- Modified: 2026-06-17T06:01:24.160Z
- Also known as: GHSA-x3cq-8f32-5f63
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: apache

## 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 .

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache RocketMQ: up to 5.1.0
- org.apache.rocketmq:rocketmq-broker (Maven): from 5.0.0 before 5.1.1
- org.apache.rocketmq:rocketmq-namesrv (Maven): from 4.0.0 before 4.9.6; from 5.0.0 before 5.1.1
- org.apache.rocketmq:rocketmq-controller (Maven): from 5.0.0 before 5.1.1
- apache rocketmq: before 4.9.6; from 5.0.0 before 5.1.1

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- NVD: 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`

## References

- <http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html> (exploit, third-party-advisory, vdb-entry, 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://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp> (kev, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/07/12/1> (mailing-list, third-party-advisory, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246> (government-resource, third-party-advisory, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-33246> (advisory, kev)
- <https://github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754d> (web)
- <https://github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703> (web)
- <https://github.com/apache/rocketmq> (package)

## Sources

- CVE List: [CVE-2023-33246](https://www.cve.org/CVERecord?id=CVE-2023-33246), CVE Terms of Use, modified 2025-10-21
- GitHub Advisory Database: [GHSA-x3cq-8f32-5f63](https://github.com/advisories/GHSA-x3cq-8f32-5f63), CC-BY-4.0, modified 2025-10-22
- NVD: [CVE-2023-33246](https://nvd.nist.gov/vuln/detail/CVE-2023-33246), Public domain, modified 2026-06-17
- CISA KEV: [CVE-2023-33246](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2023-33246), CC0-1.0, modified 2023-09-06

---

Page: https://cve.day/CVE-2023-33246 · Whole record: https://cve.day/CVE-2023-33246.json · Rebuilt by cve.day 2026-11-25T22:58:24.356Z
