CVE-2023-33246Apache RocketMQ
Remote Code Execution without Authentication in Apache RocketMQ
Critical 9.8 KEV No auth neededHigh EPSS
Follow: this CVE · Apache · Apache RocketMQ We alert you by email or Slack (account required).
- Priority
- 82
- CVSS 3.1
- 9.8
- EPSS
- 83.6% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Sep 6, 2023
- CISA deadline
- Sep 27, 2023
- Ransomware use
- Unknown
- Published
- May 24, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache RocketMQ versions 5.1.0 and below expose components such as NameServer, Broker, and Controller without permission verification. An unauthenticated attacker can execute arbitrary commands using the configuration update function or by forging RocketMQ protocol content. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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 .
Exploitation confirmed by CISA
Several components of Apache RocketMQ, including NameServer, Broker, and Controller, are exposed to 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 or achieve the same effect by forging the RocketMQ protocol content.
Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 4.9.6, 5.1.1
Upgrade RocketMQ to version 5.1.1 or higher for 5.x branch, or 4.9.6 or higher for 4.x branch. Restrict network access to RocketMQ components.
- Apply the vendor's security update for RocketMQ.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 27, 2023.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.rocketmq:rocketmq-broker |
≥ 5.0.0 < 5.1.1 |
5.1.1 |
— |
| Maven | org.apache.rocketmq:rocketmq-controller |
≥ 5.0.0 < 5.1.1 |
5.1.1 |
— |
| Maven | org.apache.rocketmq:rocketmq-namesrv |
≥ 4.0.0 < 4.9.6 |
4.9.6 |
— |
| Maven | org.apache.rocketmq:rocketmq-namesrv |
≥ 5.0.0 < 5.1.1 |
5.1.1 |
— |
Per OSV / GitHub Advisories (GHSA-x3cq-8f32-5f63). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | rocketmq | < 4.9.6 |
| apache | rocketmq | ≥ 5.0.0 < 5.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Mailing List Vendor Advisory
- www.vicarius.io Exploit Third Party Advisory
- github.com Exploit
- github.com Exploit
- www.cisa.gov Third Party Advisory US Government Resource