{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d2d9e47b53d85101cf25cb47e882bc7ba76355a4"
            },
            {
              "fixed": "e9942c6d19ac1709b3df7357cfb8810774c8d3ac"
            }
          ],
          "repo": "https://github.com/mybb/mybb",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-75vg-6wgp-mcc9"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45129.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 Admin CP Recovery Codes module does not validate requests correctly, allowing same-site attackers to rotate a victim administrator's recovery codes with a specially crafted URL. The Admin CP Home, Preferences, Recovery Codes action=recovery_codes page regenerates Two-Factor Authentication recovery codes in mybb_adminoptions.recovery_codes on GET requests without request forgery protection. The uniquely identifying implementation details include admin/modules/home/preferences.php. This issue is fixed in version 1.8.40.",
  "id": "CVE-2026-45129",
  "modified": "2026-08-20T03:30:29.890781869Z",
  "published": "2026-08-18T15:53:03.385Z",
  "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-45129.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mybb/mybb/security/advisories/GHSA-75vg-6wgp-mcc9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45129"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mybb/mybb/commit/d2d9e47b53d85101cf25cb47e882bc7ba76355a4"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MyBB: ACP Recovery Codes CSRF"
}