Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M
CVE-2026-45129MyBB: ACP Recovery Codes CSRF
Medium 4.6
In plain English
A medium-severity cross-site request forgery in mybb from mybb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities).
Official description
MyBB is free and open source forum software. Prior to 1.8.40, the Admin CP Recovery Codes module does not validate requests correctly, allowing same-site attackers to rotate a victim administrator's recovery codes with a specially crafted URL. The Admin CP Home, Preferences, Recovery Codes action=recovery_codes page regenerates Two-Factor Authentication recovery codes in mybb_adminoptions.recovery_codes on GET requests without request forgery protection. The uniquely identifying implementation details include admin/modules/home/preferences.php. This issue is fixed in version 1.8.40.
Affected products (as reported)
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
References
- https://github.com/mybb/mybb/security/advisories/GHSA-75vg-6wgp-mcc9 x_refsource_CONFIRM
- https://github.com/mybb/mybb/commit/d2d9e47b53d85101cf25cb47e882bc7ba76355a4 x_refsource_MISC
- https://github.com/mybb/mybb/releases/tag/mybb_1840 x_refsource_MISC
- https://mybb.com/versions/1.8.40 x_refsource_MISC