Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M
CVE-2026-45125MyBB: Email User CRLF injection
Medium 5.3
In plain English
A medium-severity security flaw in mybb from mybb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).
Official description
MyBB is free and open source forum software. Prior to 1.8.40, the Email User controller does not sanitize sender names correctly, resulting in mail header injection. member.php?action=do_emailuser accepts the fromname HTTP parameter for guests or the stored username for authenticated users when the cansendemail group permission is enabled. When mail_handler is set to the default PHP mail value, the sender name is used without sanitization in Return-Path and Reply-To headers, allowing arbitrary headers to be injected with CRLF sequences. This issue is fixed in version 1.8.40.
Affected products (as reported)
Weakness: CWE-93 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/mybb/mybb/security/advisories/GHSA-f626-53q9-pqm9 x_refsource_CONFIRM
- https://github.com/mybb/mybb/commit/5046c56b515d4593297a4f65b0c6ccb0b55baa01 x_refsource_MISC
- https://github.com/mybb/mybb/releases/tag/mybb_1840 x_refsource_MISC
- https://mybb.com/versions/1.8.40 x_refsource_MISC