SecurityContext

CVE-2026-45117: MyBB - Remote Code Execution

  • Cve: CVE-2026-45117
  • Name: MyBB - Remote Code Execution
  • 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.
  • Impact: Remote attackers can execute arbitrary PHP code, leading to full system compromise.
  • Remediation: Update to version 1.8.40 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01149
  • Epss percentile: 0.67686
  • Assignee: [email protected]
  • Published at: 2026-08-18T16:17:06Z
  • Age in days: 98
  • Modified at: 2026-09-08T21:02:26Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45117
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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

Products

ProductAffectedPlatform boundSourcesUrl
mybb:mybb< 1.8.40nocna_alias_text/v1/products/mybb/mybb

Projects

RepositoryLink kindsIndexedUrl
mybb/mybbcommit, fix, releases, security_advisoryyes/v1/repositories/mybb/mybb

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts