CVE-2026-39903
published high CVSS 4.0 · 7.1Simple Machines Forum Authorization Bypass via AttachmentApprove.php
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SimpleMachines | — | SMF2.1.0 through 2.1.7 (affected · semver) · 7d048f8d66aab9af51cd6ee110fbad103cf673e8 (unaffected · git) · 3.0.0 (affected · semver) · a7875e876a647572dd4c45da881b875092caac3d (unaffected · git) · Other versions: affected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SimpleMachines | SMF | 2.1.0 through 2.1.7 (affected · semver)7d048f8d66aab9af51cd6ee110fbad103cf673e8 (unaffected · git)3.0.0 (affected · semver)a7875e876a647572dd4c45da881b875092caac3d (unaffected · git)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-863 Incorrect Authorization
References
5- Patch Commit (v2.1) https://github.com/SimpleMachines/SMF/commit/7d048f8d66aab9af51cd6ee110fbad103cf673e8
- Patch Commit (v3.0) https://github.com/SimpleMachines/SMF/commit/a7875e876a647572dd4c45da881b875092caac3d
- Pull Request (v3.0) https://github.com/SimpleMachines/SMF/pull/9181
- Pull Request (v2.1) https://github.com/SimpleMachines/SMF/pull/9182
- https://www.vulncheck.com/advisories/simple-machines-forum-authorization-bypass-via-attachmentapprove-php
Provider assertions
2VulnCheck · cna
Simple Machines Forum Authorization Bypass via AttachmentApprove.php
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56c3c0ef13e0a1547fe96073d86304fe97d2c586de410fc62de1714f1321aec5
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record