MyBB: Installer database configuration RCE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
MyBB is free and open source forum software. From 1.8.13 until 1.8.40, the installer module does not properly escape user-supplied database configuration values written to the configuration file, resulting in PHP code injection and remote code execution when the installer is available. install/index.php processes the values with addcslashes(), but the $characters argument added in MyBB 1.8.13 does not include the backslash character, allowing crafted input to escape the generated PHP string. The uniquely identifying implementation details include introduced in MyBB 1.8.13. This issue is fixed in version 1.8.40.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA mybb (mybb) Fixed in 1.8.40
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45117
References
More mybb vulnerabilities
- TI-2011-04621 myBB 1.6.4 Backdoor Arbitrary Command Execution CVSS 4.0CRITICAL 10.0
- TI-2022-08548 Remote code execution in mybb CVSS 3.1HIGH 7.2
- TI-2021-22547 MyBB Timeline Plugin 1.0 Cross-Site Scripting and CSRF CVSS 4.0MEDIUM 6.9
- TI-2023-21959 MyBB before 1.8.36 allows Code Injection by users with certain high privileges. CVSS 3.1HIGH 7.2
- TI-2022-18641 Mail settings' command parameter injection in mybb CVSS 3.1HIGH 7.2
- TI-2025-21092 An issue in MyBB 1.8.38 allows a remote attacker to obtain sensitive information via the… CVSS 3.1HIGH 7.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences