Simple Machines Forum Authorization Bypass via AttachmentApprove.php 漏洞概述 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. 影响范围 SMF 2.1.0 < 2.1.8 SMF 3.0.0 < 3.0.0 Alpha 5 修复方案 升级到 SMF 2.1.8 或 SMF 3.0.0 Alpha 5 及以上版本。 参考链接 Pull Request (v2.1) Pull Request (v3.0) Patch Commit (v2.1) Patch Commit (v3.0) 漏洞详情 CVE: CVE-2026-39903 CVSS: 7.1 CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VA:H/SC:N/SI:N/SA:N CWE: CWE-863 Incorrect Authorization 发布日期: 7/10/2026 贡献者: Elure (Marasescu Mihnea-Luca)