Skip to main content

MyBB CVE-2026-47245

| EUVDEUVD-2026-61016 MEDIUM
Unchecked Return Value (CWE-252)
2026-08-18 GitHub_M
4.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as any registered forum member
  2. Delivery
    Submit buddy list delete request via usercp.php?action=do_editlists
  3. Exploit
    Trigger reciprocal update with incorrect UID in array_search()
  4. Execution
    array_search() returns false, coerced to index 0
  5. Impact
    Target account's first buddy list entry silently deleted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Return value checking
Exploitation Conditions

Requires a valid authenticated session on the MyBB forum (low-privileged registered member account; no moderator or admin rights needed). The vulnerable code path is triggered specifically by submitting a DELETE request to usercp.php?action=do_editlists with manage=buddy and a valid delete UID. The original code lacked the manage=buddy input validation check (also added in the fix), meaning the reciprocal update could be triggered even without the buddy manage parameter. No non-default configuration is required. Exploitation is limited to buddy list data integrity; it cannot affect forum posts, user credentials, or other data. The victim suffers a silent loss of one buddy list entry, with impact proportional to how much buddy-list membership is used for access control or community features on the specific forum instance.

Impact

The CVSS 3.1 score of 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N) accurately characterizes the real-world risk as moderate-to-low. Exploitation requires only a low-privileged (authenticated) account and no special configuration, making it trivially triggerable by any registered forum member. However, the integrity impact is narrow - only buddy list metadata is corrupted, not forum content, credentials, or session state. There is no confidentiality or availability impact. EPSS data was not provided, but the lack of KEV listing, no publicly disclosed POC, and the niche nature of the impact suggest exploitation probability is low. The SSVC decision is likely Defer for most deployments given the limited blast radius, though upgrade should be prioritized on forums where buddy/contact list integrity is functionally important (e.g., permission-gated communities). No conflicting signals exist in the data.

Exploit ScenarioDerived

An authenticated MyBB forum member navigates to their User CP and submits a request to delete any user from their buddy list. The flawed reciprocal update handler fires, searches for the wrong UID, receives false from array_search(), and silently removes the first entry from the target user's stored buddy list without the target user or administrator receiving any notification. The effect is data corruption rather than privilege escalation, leaving investigators to attribute the change to a software bug rather than malicious action.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

Buddy list integrity corruption in MyBB before 1.8.40 allows any authenticated forum member to silently remove an arbitrary entry from another user's buddy list as a side effect of their own list management. The root cause is an unchecked array_search() return value (CWE-252) combined with a wrong UID used in the reciprocal update - PHP coerces the false return to array index 0, clobbering the target account's first stored buddy. No active exploitation has been identified at time of analysis, and the vendor-confirmed fix shipped in MyBB 1.8.40.

RemediationAI

Upgrade to MyBB 1.8.40, the vendor-released patched version confirmed via the GitHub release tag mybb_1840 and advisory GHSA-w8gm-j57p-jqpc. The specific fix is in commit 0557718f27503034fb1c2768729a2fb8239bba65, which corrects the array_search() target UID and adds a !== false guard before unsetting the array entry. If immediate upgrade is not possible, a compensating control would be to restrict access to the User CP buddy list feature by disabling the buddy list functionality in the MyBB admin panel (Admin CP > Configuration > Settings > User Settings), which eliminates the vulnerable code path entirely but removes the social feature for all users. No partial workaround preserves full buddy list functionality while blocking the flaw without applying the patch.

Affected VersionsENISA

MyBB < 1.8.40

Affected Packages

euvd mybb fix: 1.8.40

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MyBB is a PHP-based open-source forum platform (CPE: cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:*). The flaw lives in usercp.php within the do_editlists delete handler. When a user removes someone from their buddy list, the code is supposed to perform a reciprocal update - removing the acting user from the target's buddy list. The original code incorrectly called array_search() searching for the deleted target UID within the target's own buddy list, rather than searching for the acting user's UID. When array_search() fails to find the value, it returns boolean false. PHP's loose typing then silently coerces false to integer 0 when it is used as an array key, causing unset($user['buddylist'][0]) to fire and delete the first entry in the target's buddy list. CWE-252 (Unchecked Return Value) is the exact root cause: the return value of array_search() was used without a ! false guard. The commit fix introduces both the missing $key ! false check and corrects the searched-for UID from the target to the acting user.

Know when Mybb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

Network-accessible web app requiring only a low-privileged authenticated session; impact is limited to partial integrity corruption of buddy list metadata with no confidentiality or availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 18, 2026 - 17:17 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular open-source forum platform, significant but not dominant web footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Mybb

View all
CVE-2022-24734 HIGH POC
7.2 Mar 09

MyBB is a free and open source forum software. Rated high severity (CVSS 7.2), this vulnerability is remotely exploitabl

CVE-2017-16780 CRITICAL POC
9.8 Nov 10

The installer in MyBB before 1.8.13 allows remote attackers to execute arbitrary code by writing to the configuration fi

CVE-2021-27946 HIGH POC
8.8 Mar 15

SQL Injection vulnerability in MyBB before 1.8.26 via poll vote count. Rated high severity (CVSS 8.8), this vulnerabilit

CVE-2021-27890 HIGH POC
8.8 Mar 15

SQL Injection vulnerablity in MyBB before 1.8.26 via theme properties included in theme XML files. Rated high severity (

CVE-2019-12830 HIGH POC
8.7 Jun 15

In MyBB before 1.8.21, an attacker can exploit a parsing flaw in the Private Message / Post renderer that leads to [vide

CVE-2026-58054 HIGH POC
8.6 Jun 28

Privilege escalation in MyBB 1.8.40 lets a limited Admin Control Panel (ACP) user who holds only the delegated user-mana

CVE-2017-7566 HIGH POC
7.7 Apr 06

MyBB before 1.8.11 allows remote attackers to bypass an SSRF protection mechanism. Rated high severity (CVSS 7.7), this

CVE-2014-9240 HIGH POC
7.5 Dec 03

SQL injection vulnerability in member.php in MyBB (aka MyBulletinBoard) 1.8.x before 1.8.2 allows remote attackers to ex

CVE-2025-29458 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Change Avatar function. Rated h

CVE-2025-29457 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Import a Theme function. Rated

CVE-2025-29459 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Mail function. Rated high sever

CVE-2013-6936 HIGH POC
7.5 Dec 04

Multiple SQL injection vulnerabilities in ajaxfs.php in the Ajax forum stat (Ajaxfs) Plugin 2.0 for MyBB (aka MyBulletin

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy