Remote code executionin MyBB.
Weaponized: a Metasploit exploit is public.
MyBB is a free and open source forum software. In affected versions the Admin CP's Settings management module does not validate setting types correctly on insertion and update, making it possible to add settings of supported type `php` with PHP code, executed on on _Change Settings_ pages. This results in a Remote Code Execution (RCE) vulnerability. The vulnerable module requires Admin CP access with the `Can manage settings?` permission.
- Upgrade mybb to 1.8.30 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Feb 2022CVE ID reserved by GitHub_M.
- 9 Mar 2022Published in the CVE List.
- 9 Mar 2022Metasploit module: MyBB Admin Control Code Injection RCE.
- 8 May 2022First public proof of concept on GitHub.
- 22 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.
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.
Report a link
Other MyBB vulnerabilities
Same weakness: Code injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- mybb.com x_refsource_MISC
- www.zerodayinitiative.com x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
Patchminder. CVE-2022-24734: Remote code execution in MyBB. https://patchminder.com/cve/cve-2022-24734/ (accessed 5 December 2026).