CVE-2025-48940 Details
Description
MyBB is free and open source forum software. Prior to version 1.8.39, the upgrade component does not validate user input properly, which allows attackers to perform local file inclusion (LFI) via a specially crafted parameter value. In order to exploit the vulnerability, the installer must be unlocked (no `install/lock` file present) and the upgrade script must be accessible (by re-installing the forum via access to `install/index.php`; when the forum has not yet been installed; or the attacker is authenticated as a forum administrator). MyBB 1.8.39 resolves this issue.
A local file inclusion vulnerability has been identified in MyBB forum software versions prior to 1.8.39. The issue arises in the upgrade component, where user input is not properly validated. This flaw allows attackers to craft specific parameter values to include local files. Exploitation requires the installer to be unlocked and the upgrade script to be accessible, either by reinstalling the forum or by being authenticated as a forum administrator.
Users can upgrade to MyBB version 1.8.39, which addresses this vulnerability. Instructions for upgrading are available in the MyBB upgrade documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mybb/mybb/commit/6e6cfbd524d9101b51e1278ecf520479b64b0f00 | [email protected] | Patch |
| https://github.com/mybb/mybb/security/advisories/GHSA-q4jv-xwjx-37cp | [email protected] | Vendor Advisory |
| https://mybb.com/versions/1.8.39 | [email protected] | ProductRelease Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mybb mybb | < 1.8.39 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2025 | Initial Analysis | [email protected] |
| Jun 2, 2025 | New CVE Received | [email protected] |