CVE-2026-58054
Received Received - Intake

Privilege Escalation in MyBB via Usergroup Assignment

Vulnerability report for CVE-2026-58054, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-28

Last updated on: 2026-06-28

Assigner: VulnCheck

Description

MyBB 1.8.40 does not restrict which usergroup a limited Admin Control Panel user may assign when creating or editing users; the user module offers the Administrators group (gid 4) and its datahandler's verify_usergroup() unconditionally returns true. An admin holding only the delegated user-management permission can assign the Administrators group to an account and escalate to the full Administrator permission set.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-28
Last Modified
2026-06-28
Generated
2026-06-28
AI Q&A
2026-06-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mybb mybb to 1.8.40 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-269 The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58054 is a privilege escalation vulnerability in MyBB version 1.8.40 that allows a user with limited Admin Control Panel (ACP) permissions, specifically delegated user-management rights, to assign the Administrators group to any user account.

The root cause is that the user module does not restrict which usergroup a limited ACP user may assign, and the verify_usergroup() function in the data handler always returns true without proper authorization checks.

This means an attacker with only user-management permission can create or edit users and assign them full Administrator privileges, effectively escalating their own permissions to full administrator level.

Impact Analysis

This vulnerability can lead to unauthorized privilege escalation within the MyBB forum software.

  • An attacker with limited Admin CP user-management permissions can gain full Administrator access.
  • The attacker can modify board settings, manage all users, and alter forum data.
  • This compromises the integrity and security of the forum, potentially leading to data breaches or unauthorized control.
Detection Guidance

This vulnerability can be detected by checking if any user accounts have been assigned to the Administrators group (gid 4) by a limited Admin Control Panel user who should not have such privileges.

One approach is to audit user group assignments in the MyBB database, especially focusing on recent changes made by users with limited ACP permissions.

Since the issue involves the user module forwarding the usergroup field without proper authorization, monitoring logs for user creation or modification events where the Administrators group is assigned can help detect exploitation.

Specific commands depend on your environment, but for example, if you have direct database access, you can run SQL queries to identify users in the Administrators group and check who created or modified them.

  • Example SQL query to list users in the Administrators group (gid=4): SELECT uid, username, usergroup, additionalgroups FROM mybb_users WHERE usergroup = 4 OR FIND_IN_SET(4, additionalgroups);
  • Check logs or audit trails for user creation or modification actions performed by limited ACP users assigning gid 4.
Mitigation Strategies

Immediate mitigation involves restricting the ability to assign the Administrators group (gid 4) only to super administrators or users with explicit high-trust permissions.

Since the vulnerability arises from the verify_usergroup() function unconditionally returning true, applying a patch or update that enforces stricter group assignment validation is critical.

If a patch is not yet available, temporarily revoke or limit the delegated user-management permissions from limited ACP users to prevent them from assigning the Administrators group.

Additionally, audit current user accounts for unauthorized Administrator group assignments and revert any suspicious changes.

Monitor your system closely for any signs of privilege escalation attempts and consider disabling or restricting the user management module for limited ACP users until a fix is applied.

Compliance Impact

This vulnerability allows a user with limited Admin Control Panel permissions to escalate their privileges to full Administrator status by assigning the Administrators group to any account without proper authorization checks.

Such unauthorized privilege escalation can lead to unauthorized access and modification of sensitive data, which may violate compliance requirements under common standards and regulations like GDPR and HIPAA that mandate strict access controls and protection of personal and sensitive information.

Therefore, exploitation of this vulnerability could result in non-compliance with these regulations due to potential unauthorized data access and administrative control.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58054. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart