Skip to content
OpenAdvisories
Medium · 4.6 CVE-2026-45129 EUVD-2026-61019

MyBB: ACP Recovery Codes CSRF

Published Aug 18, 2026 · Updated Aug 18, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
mybb mybb < 1.8.40 —

References