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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-352"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45129.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "1.8.40"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "1.8.40"
},
{
"fixed": "1.8.40"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "d2d9e47b53d85101cf25cb47e882bc7ba76355a4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "mybb_1840",
"range": [
{
"fixed": "e9942c6d19ac1709b3df7357cfb8810774c8d3ac"
}
],
"source": "REFERENCES_TAG"
}
]
}