Vulnerability in Mybb

CVE-2026-45125

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.

Vulnerability class: CRLF Injection

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

  • Mybb — versions < 1.8.40

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-45125?
CVE-2026-45125 is a medium-severity vulnerability in Mybb, classified under CRLF Injection. CVSS score: 5.3/10. Published 2026-08-18.
How severe is CVE-2026-45125?
Medium severity. CVSS v3 base score is 5.3 out of 10.