All vulnerabilities

Servers and applications

GHSA-3g38-mp38-pgcw

Attachment moderation insufficient authorization

Severity
Low
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.8.41
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Sources
Project advisories (GitHub)

Description

The edit post module does not sufficiently verify permissions for specific attachments, allowing moderators to remove, approve, or unapprove attachments in forums where they don't have the relevant permissions.

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

The editpost.php attachment approve/unapprove actions authorize against the currently edited post's forum, but modify attachment data using the attachment identifier (mybb_attachments.aid) without verifying the target attachment's association with the context forum or post, resulting in an IDOR vulnerability.

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