CVE-2026-39903CWE-863

Simple Machines Forum Authorization Bypass via AttachmentApprove.php

High · published July 10, 2026

CVSS v4.0
7.1
EPSS
0%
Percentile
39.5
In the wild
Unconfirmed
What it is

Simple Machines Forum 2.1 prior to commit 7d048f8 and 3.0 prior to commit a7875e8 contains an authorization bypass vulnerability in Sources/Actions/AttachmentApprove.php where a single-character operator error causes the permission check to always pass regardless of user permissions. An authenticated low-privileged user can approve, reject, or delete any pending attachments on any board without holding the required approve_posts permission, bypass moderation queues for their own uploads, and enumerate and delete other users' pending attachments.

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
EPSS
0.00467 · 39.5th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2026-07-10T16:03Z
EPSS history
Timeline
  • 10 JUL 16:03Z
    Simple Machines Forum Authorization Bypass via AttachmentApprove.php
    cvelistv5