CVE-2026-39903

Simple Machines Forum Authorization Bypass via AttachmentApprove.php

State
Published
Severity
7.1 High
Published
Jul 10, 2026
Updated
Jul 28, 2026
Reserved
Apr 7, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:NVulnCheck
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:LVulnCheck

Weaknesses

Affected Products

ProductVersions
SMFSimpleMachines
  • 2.1.0 through 2.1.7Affected
  • 7d048f8d66aab9af51cd6ee110fbad103cf673e8Not affected
  • 3.0.0Affected
  • a7875e876a647572dd4c45da881b875092caac3dNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.