# CVE-2026-39903: Simple Machines Forum Authorization Bypass via AttachmentApprove.php

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-07-10T16:03:20.983Z
- Modified: 2026-11-08T14:02:31.422Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- SimpleMachines SMF: from 2.1.0 up to 2.1.7; 3.0.0 (not affected: 7d048f8d66aab9af51cd6ee110fbad103cf673e8; a7875e876a647572dd4c45da881b875092caac3d)

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/SimpleMachines/SMF/pull/9182> (issue-tracking, patch)
- <https://github.com/SimpleMachines/SMF/pull/9181> (issue-tracking, patch)
- <https://github.com/SimpleMachines/SMF/commit/7d048f8d66aab9af51cd6ee110fbad103cf673e8> (patch)
- <https://github.com/SimpleMachines/SMF/commit/a7875e876a647572dd4c45da881b875092caac3d> (patch)
- <https://www.vulncheck.com/advisories/simple-machines-forum-authorization-bypass-via-attachmentapprove-php> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-39903](https://www.cve.org/CVERecord?id=CVE-2026-39903), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-39903](https://nvd.nist.gov/vuln/detail/CVE-2026-39903), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-39903 · Whole record: https://cve.day/CVE-2026-39903.json · Rebuilt by cve.day 2026-11-25T22:59:27.644Z
