Severity by source
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42941
GHSA-62g6-4j9c-6v7p