CVE-2026-39903

Source
https://cve.org/CVERecord?id=CVE-2026-39903
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39903.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-39903
Published
2026-07-10T16:03:20.983Z
Modified
2026-07-15T01:49:10.317546538Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Simple Machines Forum Authorization Bypass via AttachmentApprove.php
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-863"
    ],
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "2.1.0"
                },
                {
                    "fixed": "2.1.8"
                },
                {
                    "introduced": "3.0.0"
                },
                {
                    "fixed": "3.0.0 Alpha 5"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39903.json"
}
References

Affected packages

Git / github.com/simplemachines/smf

Affected ranges

Type
GIT
Repo
https://github.com/simplemachines/smf
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

2.*
2.1beta1
v2.*
v2.1-beta.1
v2.1-beta.2
v2.1-beta.3
v2.1-rc.1
v2.1-rc.2
v2.1-rc.3
v2.1-rc.4
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.1.7
v3.*
v3.0-alpha.1
v3.0-alpha.2
v3.0-alpha.3
v3.0-alpha.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39903.json"