MyBB Improper Limitation of a Pathname to a Restricted Directory (Path Traversal) Vulnerability - CVE-2025-48940
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.