{
  "id": "CVE-2026-39903",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-39903",
  "published_at": "2026-07-10T16:03:20.983Z",
  "title": "Simple Machines Forum Authorization Bypass via AttachmentApprove.php",
  "vendor": "SimpleMachines",
  "product": "SMF",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-863",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "SimpleMachines",
        "product": "SMF",
        "ranges": [
          "\u003e= 2.1.0, \u003c= 2.1.7",
          "3.0.0"
        ],
        "fixed_in": [
          "7d048f8d66aab9af51cd6ee110fbad103cf673e8",
          "a7875e876a647572dd4c45da881b875092caac3d"
        ]
      }
    ],
    "upgrade": [
      "Upgrade SMF to 7d048f8d66aab9af51cd6ee110fbad103cf673e8 or a7875e876a647572dd4c45da881b875092caac3d or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/SimpleMachines/SMF/pull/9182"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/SimpleMachines/SMF/pull/9181"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/SimpleMachines/SMF/commit/7d048f8d66aab9af51cd6ee110fbad103cf673e8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/SimpleMachines/SMF/commit/a7875e876a647572dd4c45da881b875092caac3d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
