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

Configuration 1 (hide)

cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:*

History

02 Jul 2025, 15:18

Type Values Removed Values Added
First Time Mybb
Mybb mybb
Summary
  • (es) MyBB es un software de foro gratuito y de código abierto. Antes de la versión 1.8.39, el componente de actualización no validaba correctamente la entrada del usuario, lo que permitía a los atacantes realizar la inclusión local de archivos (LFI) mediante un valor de parámetro especialmente manipulado. Para explotar esta vulnerabilidad, el instalador debe estar desbloqueado (sin el archivo `install/lock` presente) y el script de actualización debe ser accesible (reinstalando el foro mediante el acceso a `install/index.php`; cuando el foro aún no se haya instalado; o el atacante esté autenticado como administrador del foro). MyBB 1.8.39 resuelve este problema.
References () https://github.com/mybb/mybb/commit/6e6cfbd524d9101b51e1278ecf520479b64b0f00 - () https://github.com/mybb/mybb/commit/6e6cfbd524d9101b51e1278ecf520479b64b0f00 - Patch
References () https://github.com/mybb/mybb/security/advisories/GHSA-q4jv-xwjx-37cp - () https://github.com/mybb/mybb/security/advisories/GHSA-q4jv-xwjx-37cp - Vendor Advisory
References () https://mybb.com/versions/1.8.39 - () https://mybb.com/versions/1.8.39 - Product, Release Notes
CPE cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:*

02 Jun 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-02 16:15

Updated : 2025-07-02 15:18


NVD link : CVE-2025-48940

Mitre link : CVE-2025-48940

CVE.ORG link : CVE-2025-48940


JSON object : View

Products Affected

mybb

  • mybb
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')