Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/mybb/mybb/commit/0fe713e3b964bfc878ea65bdd9f746f585f6ebbf
- https://github.com/mybb/mybb/releases/tag/mybb_1840
- https://github.com/mybb/mybb/security/advisories/GHSA-gpc4-77rp-3xqr
- https://mybb.com/versions/1.8.40
FAQ
What is CVE-2026-45117?
CVE-2026-45117 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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, resu...
How severe is CVE-2026-45117?
CVE-2026-45117 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-45117?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.