CVE-2026-39903

HIGH

SimpleMachines - Simple Machines Forum Authorization Bypass via AttachmentApprove.php

Title source: rule
STIX 2.1

Description

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.

Scores

CVSS v3 7.1
EPSS 0.0033
EPSS Percentile 25.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-863
Status published
Products (6)
SimpleMachines/SMF 2.1.0 - 2.1.7
SimpleMachines/SMF 2.1.0 - 2.1.8
SimpleMachines/SMF 3.0.0
SimpleMachines/SMF 3.0.0 - 3.0.0 Alpha 5
SimpleMachines/SMF 7d048f8d66aab9af51cd6ee110fbad103cf673e8
SimpleMachines/SMF a7875e876a647572dd4c45da881b875092caac3d
Published Jul 10, 2026
Tracked Since Jul 10, 2026