Skip to main content

Mybb EUVDEUVD-2025-16668

| CVE-2025-48940 HIGH
Path Traversal (CWE-22)
2025-06-02 security-advisories@github.com
7.2
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

While the CVSS 7.2 score indicates high severity (High confidentiality impact, High integrity impact, High availability impact), real-world risk is substantially mitigated by attack complexity factors: (1) High privilege requirement (PR:H) - attacker must be an authenticated administrator OR the installer must be unlocked; (2) The installer is typically protected/removed in production environments; (3) Network attack vector (AV:N) is partially offset by the privilege/access requirements. The vulnerability transitions from CVSS 7.2 to practical risk tier of MEDIUM-HIGH for scenarios where: installers remain accessible post-deployment, administrators lack proper access controls, or automated deployment frameworks inadvertently leave installers unlocked. The exploitation probability (EPSS) is moderate rather than critical because the privilege/access barriers require either compromised admin credentials or infrastructure misconfiguration. This is a priority for MyBB administrators running versions <1.8.39, particularly in shared hosting or multi-tenant environments where installer removal post-deployment cannot be guaranteed.

Exploit ScenarioDerived

Scenario 1 (Compromised Admin): An attacker obtains admin credentials through phishing or credential stuffing. They authenticate to the MyBB admin panel and navigate to or directly access the upgrade component at install/index.php. They craft a malicious parameter (e.g., path traversal sequences like ../../../../etc/passwd) which the unvalidated input processing fails to sanitize. The attacker successfully reads sensitive files such as database configuration files (inc/config.php), WordPress/other CMS credentials, SSH keys, or system files, leading to further compromise. Scenario 2 (Unlocked Installer): A forum operator performs a MyBB re-installation or upgrade but forgets to remove the install/ directory or create the install/lock file. An opportunistic attacker discovers the accessible installer via automated scanning, accesses install/index.php, and exploits the LFI vulnerability to enumerate and read configuration files without authentication. No public POC was referenced in provided intelligence, but the vulnerability class (CWE-22 LFI) is well-understood and exploitable with standard path traversal payloads.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

MyBB versions prior to 1.8.39 contain a local file inclusion (LFI) vulnerability in the upgrade component due to improper input validation (CWE-22). This vulnerability allows authenticated administrators or unauthenticated attackers with access to an unlocked installer to read arbitrary files from the server filesystem. The vulnerability requires either the installer to be accessible via re-installation or the attacker to have administrative privileges, significantly limiting real-world exploitability despite the CVSS 7.2 score.

RemediationAI

  1. Immediate patch: Upgrade MyBB to version 1.8.39 or later, which resolves the input validation issue in the upgrade component. 2. For unpatched systems pending upgrade: (a) Remove or rename the install/ directory entirely post-deployment to prevent any access to installation scripts; (b) Restrict access to install/index.php via web server configuration (.htaccess for Apache, nginx location blocks) using IP whitelisting or authentication; (c) Ensure install/lock file exists and is properly protected with restrictive file permissions (644 or similar); (d) Implement authentication/authorization checks at the web server level for any installer-related paths; (e) Monitor access logs for suspicious requests to install/index.php. 3. Long-term: Deploy automated security scanning to detect presence of installer files in production; implement configuration management to enforce removal of installer directories post-deployment.

Affected VersionsENISA

MyBB < 1.8.39

Affected Packages

euvd mybb fix: 1.8.39

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MyBB is a PHP-based forum software platform. The vulnerability exists in the upgrade/installation component (install/index.php) which fails to properly sanitize user-supplied parameters before using them in file inclusion operations, leading to path traversal and local file inclusion (CWE-22: Improper Limitation of a Pathname to a Restricted Directory). The root cause is insufficient input validation in file path handling, allowing attackers to manipulate parameters to include arbitrary files outside the intended directory structure. The vulnerability is contingent upon the install/lock file being absent (indicating an unlocked installer state), suggesting the developers intended to restrict this attack surface post-installation but failed to implement proper controls during the upgrade process.

Know when Mybb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 14, 2026 - 16:47 nvd
Patch available
CVE Published
Jun 02, 2025 - 16:15 nvd
HIGH 7.2

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

MyBB forum installations are vulnerable to local file inclusion attacks that could allow unauthorized access to sensitive system files. Organizations running MyBB versions prior to 1.8.39 should prioritize patching, particularly if their installation remains accessible through the upgrade component or installer interface.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Restrict web access to install/index.php and upgrade components via firewall or web server configuration; (2) Ensure install/lock file exists and is properly enforced; (3) Limit administrative access to upgrade functionality through IP whitelisting or VPN; (4) Deploy WAF rules to block suspicious parameter values targeting the upgrade component; (5) Monitor access logs for repeated requests to install/index.php or upgrade scripts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 68% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Mybb

View all
CVE-2022-24734 HIGH POC
7.2 Mar 09

MyBB is a free and open source forum software. Rated high severity (CVSS 7.2), this vulnerability is remotely exploitabl

CVE-2017-16780 CRITICAL POC
9.8 Nov 10

The installer in MyBB before 1.8.13 allows remote attackers to execute arbitrary code by writing to the configuration fi

CVE-2021-27946 HIGH POC
8.8 Mar 15

SQL Injection vulnerability in MyBB before 1.8.26 via poll vote count. Rated high severity (CVSS 8.8), this vulnerabilit

CVE-2021-27890 HIGH POC
8.8 Mar 15

SQL Injection vulnerablity in MyBB before 1.8.26 via theme properties included in theme XML files. Rated high severity (

CVE-2019-12830 HIGH POC
8.7 Jun 15

In MyBB before 1.8.21, an attacker can exploit a parsing flaw in the Private Message / Post renderer that leads to [vide

CVE-2026-58054 HIGH POC
8.6 Jun 28

Privilege escalation in MyBB 1.8.40 lets a limited Admin Control Panel (ACP) user who holds only the delegated user-mana

CVE-2017-7566 HIGH POC
7.7 Apr 06

MyBB before 1.8.11 allows remote attackers to bypass an SSRF protection mechanism. Rated high severity (CVSS 7.7), this

CVE-2014-9240 HIGH POC
7.5 Dec 03

SQL injection vulnerability in member.php in MyBB (aka MyBulletinBoard) 1.8.x before 1.8.2 allows remote attackers to ex

CVE-2025-29458 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Change Avatar function. Rated h

CVE-2025-29457 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Import a Theme function. Rated

CVE-2025-29459 HIGH POC
7.6 Apr 17

An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the Mail function. Rated high sever

CVE-2013-6936 HIGH POC
7.5 Dec 04

Multiple SQL injection vulnerabilities in ajaxfs.php in the Ajax forum stat (Ajaxfs) Plugin 2.0 for MyBB (aka MyBulletin

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy