# CVE-2026-45125: MyBB: Email User CRLF injection

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- 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.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-08-18T15:50:38.936Z
- Modified: 2026-09-08T21:02:26.047Z
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- mybb mybb: < 1.8.40

## References

- <https://github.com/mybb/mybb/security/advisories/GHSA-f626-53q9-pqm9>
- <https://github.com/mybb/mybb/commit/5046c56b515d4593297a4f65b0c6ccb0b55baa01>
- <https://github.com/mybb/mybb/releases/tag/mybb_1840>
- <https://mybb.com/versions/1.8.40>

## Sources

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

---

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