CVE-2026-58054
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMyBB 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceMyBB 1.8.40's admin control panel user module allows a limited admin (with only user-management permissions) to assign any usergroup, including the privileged Administrators group (gid=4). The verify_usergroup() function in the user datahandler unconditionally returns true without checking if the assigning admin has permission to grant elevated privileges, enabling privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm MyBB version is 1.8.40Check the admin control panel version under Admin CP > Home > Dashboard, or inspect the version.php file in the MyBB root directory for the $mybbversion variableAffected if The installed version is 1.8.40 specifically (the only version listed as affected)
-
Verify limited admin accounts exist with user-management permissionsIn Admin CP, go to Users & Groups > Admins and review admin accounts. Identify any admin that has only user-management related permissions without full administrative accessAffected if There exists at least one admin account with limited permissions focused on user management
-
Inspect the verify_usergroup function in the user datahandlerLocate the file inc/datahandlers/user.php (or similar path depending on installation) and examine the verify_usergroup() function. Check if it performs authorization validation before allowing privileged usergroup assignmentsAffected if The verify_usergroup() function returns true unconditionally without checking if the assigning admin has permission to grant elevated privileges such as gid=4 (Administrators group)
-
Check for presence of privileged usergroupsIn Admin CP, go to Users & Groups > Groups and verify the existence of the Administrators group (typically gid=4). Also check for other privileged groups that should only be assignable by super adminsAffected if Privileged usergroups including the Administrators group (gid=4) exist in the system and could be assigned
A user is affected if running MyBB 1.8.40 with the verify_usergroup() function lacking authorization checks, allowing limited admins to escalate privileges by assigning the Administrators group.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement authorization checks in verify_usergroup() to validate the admin's permissions before allowing assignment of privileged usergroups, and restrict the usergroup dropdown options presented to limited admins.
MyBB 1.8.41 or later (the next stable release containing the verify_usergroup() fix)
- 1. Identify the current MyBB installation version by checking the admin dashboard or version file.
- 2. Navigate to the MyBB download repository (download.mybb.com) to obtain the latest stable release.
- 3. Before upgrading, perform a complete backup of the database and all files.
- 4. Upload the new version files, overwriting the existing installation.
- 5. Run the upgrade script through the browser (usually by accessing install/upgrade.php).
- 6. Verify the fix by logging in as a limited admin with user-management permissions and confirming they cannot assign the Administrators usergroup (gid 4).
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-58054 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-58054 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data