Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/mybb/mybb/commit/5046c56b515d4593297a4f65b0c6ccb0b55baa01
- https://github.com/mybb/mybb/releases/tag/mybb_1840
- https://github.com/mybb/mybb/security/advisories/GHSA-f626-53q9-pqm9
- https://mybb.com/versions/1.8.40
FAQ
What is CVE-2026-45125?
CVE-2026-45125 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 acc...
How severe is CVE-2026-45125?
CVE-2026-45125 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-45125?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.