CVE-2026-45129 PUBLISHED

MyBB: ACP Recovery Codes CSRF

Assigner: GitHub_M
Reserved: 08.05.2026 Published: 18.08.2026 Updated: 18.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
CVSS Score: 4.6

Product Status

Vendor mybb
Product mybb
Versions
  • Version < 1.8.40 is affected

References

Problem Types

  • CWE-352: Cross-Site Request Forgery (CSRF) CWE