---
id: CVE-2026-45126
title: MyBB is free and open source forum software
summary: >-
  MyBB is free and open source forum software. Prior to 1.8.40, the Admin CP
  Security Questions module does not validate the anti-CSRF token correctly,
  allowing same-site attackers to enable or disable registration challenge
  questions with…
severity: low
cvss: 3.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N'
cwe:
  - CWE-352
published: '2026-08-18'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T21:02:26.047'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-45126'
references:
  - url: >-
      https://github.com/mybb/mybb/commit/6893b395c7fa3b9e4de6235caea0ce198c376c4f
    label: security-advisories@github.com
  - url: 'https://github.com/mybb/mybb/releases/tag/mybb_1840'
    label: security-advisories@github.com
  - url: 'https://github.com/mybb/mybb/security/advisories/GHSA-m42q-vgx3-fqcc'
    label: security-advisories@github.com
  - url: 'https://mybb.com/versions/1.8.40'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00173
epssPercentile: 0.06005
ingestedAt: '2026-09-08T21:11:12.280Z'
---

## Overview

MyBB is free and open source forum software. Prior to 1.8.40, the Admin CP Security Questions module does not validate the anti-CSRF token correctly, allowing same-site attackers to enable or disable registration challenge questions with a specially crafted URL. The controller processes GET requests for the disable and enable actions to modify mybb_questions.active without verifying the my_post_key token attached by the user interface. The uniquely identifying implementation details include admin/modules/config/questions.php. This issue is fixed in version 1.8.40.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
