All vulnerabilities

Servers and applications

GHSA-5p37-qp5c-54jf

ACP Ban group insufficient validation

Severity
Medium
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.8.41
Weakness
Incorrect privilege assignment (CWE-266)
Sources
Project advisories (GitHub)

Description

The Admin CP ban-management components do not validate submitted target groups against the configured banned-group set, allowing administrators with ban or warning-management permissions to assign arbitrary usergroups to target accounts.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

The direct ban controller and ban-type warning-level editor populate their selectors according to the Yes, this is a banned group status (mybb_usergroups.isbannedgroup = 1), but their POST handlers accept any integer group ID (mybb_usergroups.gid).

The direct path writes the value to both mybb_banned.gid and the target user's mybb_users.usergroup. The warning path stores the value in the serialized warning action and later applies it when a user reaches the warning threshold.

A non-banned group produces a misleading ban row while changing the target's effective permissions; a privileged group can therefore cross the boundary between limited ban administration and user-group management.

From mybb/mybb's security advisory.

Affected software

SoftwareAffected versions
MyBBServers and applications · github:mybb/mybb
  • Every version before 1.8.41

About MyBB

open-source forum software

From Wikidata, CC0 1.0.
Docker Hub pulls
195,687Docker Hub, 15 Nov 2026
GitHub stars
1,251GitHub, 15 Nov 2026
Forks
445GitHub, 15 Nov 2026
Latest release
mybb_1841GitHub, 15 Nov 2026
Released
16 Sept 2026GitHub
License
GNU General Public License, version 3.0, GNU Lesser General Public License, version 3.0Wikidata
Written in
PHPWikidata
First released
2002Wikidata
First published on GitHub
13 Jun 2012GitHub

References