CVE-2026-23829
Last modified
CVE-2026-23829 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Mailpit is an email testing tool and API for developers. Prior to version 1.28.3, Mailpit's SMTP server is vulnerable to Header Injection due to an insufficient Regular Expression used to validate `RCPT TO` and `MAIL FROM` addresses. EPSS estimates a 1.44% chance of exploitation in the next 30 days.
Description
Mailpit is an email testing tool and API for developers. Prior to version 1.28.3, Mailpit's SMTP server is vulnerable to Header Injection due to an insufficient Regular Expression used to validate `RCPT TO` and `MAIL FROM` addresses. An attacker can inject arbitrary SMTP headers (or corrupt existing ones) by including carriage return characters (`\r`) in the email address. This header injection occurs because the regex intended to filter control characters fails to exclude `\r` and `\n` when used inside a character class. Version 1.28.3 fixes this issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Axllent | Mailpit | < 1.28.3 |
References
- https://github.com/axllent/mailpit/releases/tag/v1.28.3Product, Release Notes
- https://github.com/axllent/mailpit/security/advisories/GHSA-54wq-72mp-cq7cExploit, Mitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-23829?
How severe is CVE-2026-23829?
How do I fix CVE-2026-23829?
Are you affected by CVE-2026-23829?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
