Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M
CVE-2026-47245MyBB: Buddy list corruption
Medium 4.3
In plain English
A medium-severity security flaw 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.4% (higher than 31% of all known vulnerabilities).
Official description
MyBB is free and open source forum software. Prior to 1.8.40, the User CP Buddy/Ignore List component does not validate reciprocal buddy-list updates correctly. The usercp.php?action=do_editlists delete handler removes the selected entry from the acting user's list and then updates mybb_users.buddylist for the target account. The reciprocal update searches for the deleted target UID instead of the acting user's UID and uses the unchecked array_search() return value as an array key. A false result can be converted to index 0, removing the target account's first stored buddy while leaving the actual reciprocal entry unchanged. The uniquely identifying implementation details include false converted to index 0. This issue is fixed in version 1.8.40.
Affected products (as reported)
Weakness: CWE-252 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/mybb/mybb/security/advisories/GHSA-w8gm-j57p-jqpc x_refsource_CONFIRM
- https://github.com/mybb/mybb/commit/0557718f27503034fb1c2768729a2fb8239bba65 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