CVE-2023-33246
Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
Also known as GHSA-x3cq-8f32-5f63
Mitigation
- Upgrade org.apache.rocketmq:rocketmq-broker to 5.1.1 or later.
- Upgrade org.apache.rocketmq:rocketmq-namesrv to one of 4.9.6, 5.1.1 (or later in the same release line).
- Upgrade org.apache.rocketmq:rocketmq-controller to 5.1.1 or later.
Who should check
- Projects that depend on Maven package org.apache.rocketmq:rocketmq-broker (>= 5.0.0, < 5.1.1)
- Projects that depend on Maven package org.apache.rocketmq:rocketmq-namesrv (>= 4.0.0, < 4.9.6)
- Projects that depend on Maven package org.apache.rocketmq:rocketmq-controller (>= 5.0.0, < 5.1.1)
- Anyone running Apache Software Foundation Apache RocketMQ <= 5.1.0
Vulnerability facts
- Affected
- 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
- Fixed in
- 5.1.1, 4.9.6
- Exploited in the wild
- Yes: in CISA KEV since 2023-09-06; federal due date 2023-09-27
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 83.55% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-94
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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, 5.1.1 | osv |
| Maven org.apache.rocketmq:rocketmq-controller | >= 5.0.0, < 5.1.1 | 5.1.1 | osv |
| Apache Software Foundation Apache RocketMQ | <= 5.1.0 | — | cvelist |
Timeline
- 2023-05-24 Published
- 2023-09-06 Added to CISA KEV (exploited in the wild)
- 2023-09-27 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-33246. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-33246.md Affected: 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 Fixed in: 5.1.1, 4.9.6 Steps: 1. Search this machine and project for org.apache.rocketmq:rocketmq-broker (Maven), org.apache.rocketmq:rocketmq-namesrv (Maven), org.apache.rocketmq:rocketmq-controller (Maven), Apache Software Foundation Apache RocketMQ: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
FAQ
Is CVE-2023-33246 being exploited?
Yes. CISA lists CVE-2023-33246 in its Known Exploited Vulnerabilities catalog since 2023-09-06, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 83.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-33246?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-33246?
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.
Is there a fix for CVE-2023-33246?
Yes. Fixed in 5.1.1, 4.9.6. Upgrade org.apache.rocketmq:rocketmq-broker to 5.1.1 or later. Upgrade org.apache.rocketmq:rocketmq-namesrv to one of 4.9.6, 5.1.1 (or later in the same release line). Upgrade org.apache.rocketmq:rocketmq-controller to 5.1.1 or later.
How do I check if I'm affected by CVE-2023-33246?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.