patchminder
Weaponized · Nuclei CVE-2023-37582

Remote code executionin Apache RocketMQ.

Published 12 Jul 2023 · Updated 23 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 91.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 4.9.7, 5.1.2
In plain words

The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. When NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. It is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.

What to do now
  • Upgrade org.apache.rocketmq:rocketmq-namesrv (Maven) to 4.9.7, 5.1.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache RocketMQ
5.0.0 to 5.1.1
Not confirmed
CVE record
Apache RocketMQ
4.9.6 and earlier
Not confirmed
CVE record
org.apache.rocketmq:rocketmq-namesrv (Maven)
before 4.9.7
4.9.7
GitHub advisory
org.apache.rocketmq:rocketmq-namesrv (Maven)
5.0.0 to before 5.1.2
5.1.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 9 Jul 2023
    CVE ID reserved by apache.
  2. 12 Jul 2023
    Published in the CVE List.
  3. 14 Jul 2023
    First public proof of concept on GitHub.
  4. 23 Apr 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
3 repositories
GitHubno warning signs foundMalayke/CVE-2023-37582_EXPLOIT47 stars · created 14 Jul 2023Apache RocketMQ Arbitrary File Write Vulnerability Exploit
GitHubno warning signs foundlaishouchao/Apache-RocketMQ-RCE-CVE-2023-37582-poc1 stars · created 12 May 2025
GitHubno warning signs foundshoucheng3/apache__rocketmq_CVE-2023-37582_4-9-60 stars · created 16 Aug 2025

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other RocketMQ vulnerabilities

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-37582: Remote code execution in Apache RocketMQ. https://patchminder.com/cve/cve-2023-37582/ (accessed 5 December 2026).