CVE-2026-39903 Simple Machines Forum Authorization Bypass via AttachmentApprove.php
HighCVSS 7.1
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| simplemachines smf | = 3.0.0; >= 2.1.0, <= 2.1.7 | after 2.1.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| simplemachines smf | >= 2.1.0, <= 2.1.7 | No fix listed |
| simplemachines smf | = 3.0.0 | No fix listed |
References
- Pull Request (v2.1) issue-tracking patch
- Pull Request (v3.0) issue-tracking patch
- Patch Commit (v2.1) patch
- Patch Commit (v3.0) patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-42941 third-party-advisory