Every CVE Search/ Get API key

CVE-2023-33246

Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function

9.8 CriticalIn KEVPublic exploitFix available

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 .

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

96.6%Up 96.5 points since May 25, 2023
90%50%10%1%

What each source reports

NVD Score used 9.8

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 .

Record
CVE-2023-33246
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
CVE List 9.8

Apache RocketMQ: Possible remote code execution vulnerability when using the 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 .

Record
CVE-2023-33246
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
EUVDEUVD-2023-2175 9.8

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 .

Record
EUVD-2023-2175
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-x3cq-8f32-5f63 9.8

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

Record
GHSA-x3cq-8f32-5f63
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Weakness
CWE-94
Updated
2026-11-02
CISA KEV No score

Apache RocketMQ Command Execution Vulnerability

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.

Record
CVE-2023-33246
Weakness
CWE-94
Updated
2026-11-02
OSV 9.8

Apache RocketMQ: Possible remote code execution vulnerability when using the 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 .

Record
CVE-2023-33246
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSVGHSA-x3cq-8f32-5f63 9.8

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

Record
GHSA-x3cq-8f32-5f63
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Weakness
CWE-94
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.rocketmq:rocketmq-broker
Maven
5.0.0 up to 5.1.1
5.1.1
org.apache.rocketmq:rocketmq-namesrv
Maven
4.0.0 up to 4.9.6
4.9.6
org.apache.rocketmq:rocketmq-controller
Maven
5.0.0 up to 5.1.1
5.1.1
org.apache.rocketmq:rocketmq-namesrv
Maven
5.0.0 up to 5.1.1
5.1.1
org.apache.rocketmq:rocketmq-broker
Maven
5.0.0 up to 5.1.1, plus listed versions
5.0.0-PREVIEW5.1.0
5.1.1
org.apache.rocketmq:rocketmq-namesrv
Maven
4.0.0 up to 4.9.6, plus listed versions
4.0.0-incubating4.1.0-incubating4.2.04.3.04.3.1
Show 16 moreShow less
4.3.24.4.04.5.04.5.14.5.24.6.04.6.14.7.04.7.14.8.04.9.04.9.14.9.24.9.34.9.44.9.5
4.9.6
org.apache.rocketmq:rocketmq-controller
Maven
5.0.0 up to 5.1.1, plus listed versions
5.1.0
5.1.1
org.apache.rocketmq:rocketmq-namesrv
Maven
5.0.0 up to 5.1.1, plus listed versions
5.0.0-PREVIEW5.1.0
5.1.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
MetasploitApache RocketMQ update config RCE2023-05-23
PoC in GitHubI5N0rth/CVE-2023-332462023-05-30
PoC in GitHub4mazing/CVE-2023-33246-Copy2023-05-31
PoC in GitHubLe1a/CVE-2023-332462023-06-01
PoC in GitHubMalayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT2023-06-01
PoC in GitHubSuperZero/CVE-2023-332462023-06-01
PoC in GitHubP4x1s/CVE-2023-332462023-06-02
PoC in GitHubd0rb/CVE-2023-332462023-08-11
PoC in GitHubvulncheck-oss/fetch-broker-conf2023-09-04
PoC in GitHub0xKayala/CVE-2023-332462023-10-28
Show 5 moreShow less

History

History
RecordedChangedSources
exploitation, exploits
first indexedCVE List, EUVD, GitHub Advisories, CISA KEV, Metasploit, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-33246 is a critical vulnerability (CVSS 9.8) in Apache Rocketmq, published May 24, 2023. CISA lists it as known to be exploited, since September 6, 2023. EUVD reports exploitation since September 6, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 96.6%, the 99th percentile. Fixed in org.apache.rocketmq:rocketmq-broker 5.1.1.

References

Show 7 moreShow less
MoveEnter Open