Home / mybb / mybb / CVE-2022-24734
CVE-2022-24734: is it exploited, and which versions of mybb are affected and fixed?
CVE-2022-24734 is a code injection (remote code execution) vulnerability in mybb. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: mybb >= 1.2.0, < 1.8.30 (CVE record by GitHub_M). Fixed in 1.8.30 (NVD). Severity: High (7.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:50 UTC.
What is CVE-2022-24734?
Remote code execution in mybb
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. MyBB's Settings module, which allows administrators to add, edit, and delete non-default settings, stores setting data in an options code string ($options_code; mybb_settings.optionscode database column) that identifies the setting type and its options, separated by a new line character (\n). In MyBB 1.2.0, support for setting type php was added, for which the remaining part of the options code is PHP code executed on Change Settings pages (reserved for plugins and internal use). MyBB 1.8.30 resolves this issue. There are no known workarounds.
From the CVE record by GitHub_M, last updated April 22, 2025, 18:19 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mybb | mybb | >= 1.2.0, < 1.8.30 |
As the CVE record by GitHub_M states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mybb | mybb | from 1.2.0 before 1.8.30 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:32 UTC.
How severe is CVE-2022-24734?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-24734 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 22, 2025)
- EPSS
- 78.2% probability of exploitation activity in the next 30 days, percentile 99.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/mybb/mybb/security/advisories/GHSA-876v-gwgh-w57f x_refsource_CONFIRM
- https://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1 x_refsource_MISC
- https://mybb.com/versions/1.8.30/ x_refsource_MISC
- https://www.zerodayinitiative.com/advisories/ZDI-22-503/ x_refsource_MISC
- http://packetstormsecurity.com/files/167082/MyBB-1.8.29-Remote-Code-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/167333/MyBB-Admin-Control-Remote-Code-Execution.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 10, 2022
- Published
- March 9, 2022, 21:25 UTC
- CVE record updated
- April 22, 2025, 18:19 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:32 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:50 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect mybb?
- Aug 18, 2026CVE-2026-45118 mybb: improper Neutralization of Script in Attributes in a Web Page
- Aug 18, 2026CVE-2026-45117 mybb: code injection (remote code execution)
- Aug 18, 2026CVE-2026-45129 mybb: cross-site request forgery (CSRF)
- Aug 18, 2026CVE-2026-45124 mybb: missing authorization
- Aug 18, 2026CVE-2026-45120 mybb: authorization bypass through a user-controlled key (IDOR)
- Aug 18, 2026CVE-2026-47245 mybb: unchecked return value
- Aug 18, 2026CVE-2026-45734 mybb: improper Enforcement of a Single, Unique Action
- Aug 18, 2026CVE-2026-45125 mybb: improper Neutralization of CRLF Sequences
Questions about CVE-2022-24734
Is CVE-2022-24734 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 78.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of mybb are affected by CVE-2022-24734?
mybb >= 1.2.0, < 1.8.30, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2022-24734?
1.8.30, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-24734?
High (7.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-24734?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.