# CVE-2025-48940: MyBB's upgrade component vulnerable to local file inclusion

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-06-02T15:52:36.740Z
- Modified: 2026-06-17T09:30:31.277Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mybb mybb: < 1.8.39; before 1.8.39

## References

- <https://github.com/mybb/mybb/security/advisories/GHSA-q4jv-xwjx-37cp> (vendor-advisory)
- <https://github.com/mybb/mybb/commit/6e6cfbd524d9101b51e1278ecf520479b64b0f00> (patch)
- <https://mybb.com/versions/1.8.39> (product, release-notes)

## Sources

- CVE List: [CVE-2025-48940](https://www.cve.org/CVERecord?id=CVE-2025-48940), CVE Terms of Use, modified 2025-06-02
- NVD: [CVE-2025-48940](https://nvd.nist.gov/vuln/detail/CVE-2025-48940), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48940 · Whole record: https://cve.day/CVE-2025-48940.json · Rebuilt by cve.day 2026-11-25T22:58:58.662Z
