Skip to main content

Simple Machines Forum CVE-2026-39903

| EUVDEUVD-2026-42941 HIGH
Incorrect Authorization (CWE-863)
2026-07-10 VulnCheck GHSA-62g6-4j9c-6v7p
7.1
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
7.1 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.6 HIGH

Network-reachable action needing only a low-priv authenticated account (PR:L) and no interaction; integrity high from unauthorized moderation, availability low from deletion, and C:L for enumeration of others' pending attachments.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

1
Analysis Generated
Jul 10, 2026 - 17:08 vuln.today

DescriptionCVE.org

Simple Machines Forum 2.1 prior to 2.1.8 and 3.0 prior to 3.0 Alpha 5 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.

AnalysisAI

Authorization bypass in Simple Machines Forum (SMF) 2.1 before 2.1.8 and 3.0 before 3.0 Alpha 5 lets any authenticated low-privileged member manipulate the attachment moderation queue without the required approve_posts permission. A single-character operator mistake in Sources/Actions/AttachmentApprove.php makes the permission check evaluate to true for everyone, so an ordinary user can approve, reject, or delete pending attachments on any board and enumerate other users' unapproved uploads. There is no public exploit identified at time of analysis, and it is not listed in CISA KEV; the flaw was reported by VulnCheck and a vendor patch is available.

Technical ContextAI

SMF is a widely used open-source PHP/MySQL bulletin-board application; the defect lives in its attachment-approval action handler (Sources/Actions/AttachmentApprove.php), which gates moderation actions behind the approve_posts board permission. The root cause is CWE-863 (Incorrect Authorization): a single-character operator error - the classic PHP mistake of using assignment or a wrong comparison/boolean operator instead of a strict check - causes the guard expression to always resolve truthy, so the permission gate passes unconditionally regardless of the caller's actual rights. Because the affected CPE is cpe:2.3:a:simplemachines:smf, the flaw is in the core forum code rather than a third-party mod, meaning every default install running the affected branches is exposed. The action operates over normal authenticated HTTP requests, so no special protocol or transport is involved beyond a logged-in session.

RemediationAI

Upgrade to the fixed releases: Simple Machines Forum 2.1.8 for the 2.1 branch and 3.0 Alpha 5 for the 3.0 branch (Vendor-released patch: 2.1.8 / 3.0 Alpha 5), applying the upstream changes in SMF pull requests 9181 and 9182 (commits 7d048f8 and a7875e8). If you cannot upgrade immediately, the practical compensating control is to restrict or disable the attachment moderation path for untrusted members - for example, turn off post/attachment moderation queues so no pending-approval workflow is exposed, or tighten board membership so that only trusted, already-vetted accounts can log in; note the trade-off that disabling moderation removes the pre-publication review of uploads, and restricting registration reduces community growth. Because exploitation requires an authenticated account, also review and prune low-trust or spam accounts to shrink the pool of potential attackers. Vendor advisory: https://www.vulncheck.com/advisories/simple-machines-forum-authorization-bypass-via-attachmentapprove-php.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-39903 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy