---
id: CVE-2026-45120
title: MyBB is free and open source forum software
summary: >-
  MyBB is free and open source forum software. Prior to 1.8.40, the calendar
  module does not verify private event status consistently, allowing users with
  viewing and moderation permissions to access and moderate private events. The
  privat…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-639
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-45120'
references:
  - url: >-
      https://github.com/mybb/mybb/commit/c077e6c29755187c4df78a1e674dd61bc55701b3
    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-c2hm-g9w6-pv6x'
    label: security-advisories@github.com
  - url: 'https://mybb.com/versions/1.8.40'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00304
epssPercentile: 0.20768
ingestedAt: '2026-09-08T21:11:12.280Z'
---

## Overview

MyBB is free and open source forum software. Prior to 1.8.40, the calendar module does not verify private event status consistently, allowing users with viewing and moderation permissions to access and moderate private events. The private-event check used by get_events() in inc/functions_calendar.php and the event action is missing from the remaining calendar.php actions, despite the limited-access behavior described in inc/languages/english/calendar.lang.php. This issue is fixed in version 1.8.40.

## Remediation

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