Auth bypass in Simplemachines Smf

CVE-2026-39903

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.

Vulnerability class: Broken Access Control

EPSS: 0.005 (38.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L.

Affected products

  • Simplemachines Smf — versions 7d048f8d66aab9af51cd6ee110fbad103cf673e8, a7875e876a647572dd4c45da881b875092caac3d, 3.0.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-39903?
CVE-2026-39903 is a high-severity vulnerability in Simplemachines Smf, classified under Incorrect Authorization. CVSS score: 7.1/10. Published 2026-07-10.
How severe is CVE-2026-39903?
High severity. CVSS v3 base score is 7.1 out of 10.