{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5cda5f6d183bc2cac24f0533e8d3060a9a46cc42"
            },
            {
              "fixed": "e9942c6d19ac1709b3df7357cfb8810774c8d3ac"
            }
          ],
          "repo": "https://github.com/mybb/mybb",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gfxj-g7w6-6w4v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45124.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "1.8.40"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "MyBB is free and open source forum software. Prior to 1.8.40, the Mod CP Report Center does not check permissions consistently, allowing moderators without report-management permission to mark reports as resolved. The modcp.php?action=do_reports Mark Selected as Read handler is reachable with canmodcp even without canmanagereportedcontent or canmanagereportedposts. When no forums are in scope, $flist_reports is empty and the UPDATE mybb_reportedcontent query executes without the expected permission-based limitation. This issue is fixed in version 1.8.40.",
  "id": "CVE-2026-45124",
  "modified": "2026-08-21T03:30:13.894249726Z",
  "published": "2026-08-18T15:52:31.738Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mybb/mybb/releases/tag/mybb_1840"
    },
    {
      "type": "WEB",
      "url": "https://mybb.com/versions/1.8.40"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45124.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mybb/mybb/security/advisories/GHSA-gfxj-g7w6-6w4v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45124"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mybb/mybb/commit/5cda5f6d183bc2cac24f0533e8d3060a9a46cc42"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MyBB: Mod CP report resolution missing authorization"
}