# CVE-2026-45117: MyBB: Installer database configuration RCE

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-08-18T15:53:29.914Z
- Modified: 2026-09-08T21:02:26.047Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- mybb mybb: < 1.8.40

## References

- <https://github.com/mybb/mybb/security/advisories/GHSA-gpc4-77rp-3xqr>
- <https://github.com/mybb/mybb/commit/0fe713e3b964bfc878ea65bdd9f746f585f6ebbf>
- <https://github.com/mybb/mybb/releases/tag/mybb_1840>
- <https://mybb.com/versions/1.8.40>

## Sources

- CVE List: [CVE-2026-45117](https://www.cve.org/CVERecord?id=CVE-2026-45117), CVE Terms of Use, modified 2026-08-18
- NVD: [CVE-2026-45117](https://nvd.nist.gov/vuln/detail/CVE-2026-45117), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-45117 · Whole record: https://cve.day/CVE-2026-45117.json · Rebuilt by cve.day 2026-11-25T22:59:33.499Z
