All vulnerabilities

Servers and applications

CVE-2025-48940

Upgrade local file inclusion

Severity
High 7.2
Published
2 Jun 2025
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.8.39
Also known as
GHSA-q4jv-xwjx-37cp
Sources
NVD, Project advisories (GitHub)

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…

Affected software

SoftwareAffected versions
MyBBServers and applications · cpe:a:mybb:mybb
  • Every version before 1.8.39
MyBBServers and applications · github:mybb/mybb
  • Every version before 1.8.39

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-48940
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-48940
  • GitHub Advisory Database https://github.com/advisories/GHSA-q4jv-xwjx-37cp
  • github.com https://github.com/mybb/mybb/security/advisories/GHSA-q4jv-xwjx-37cp