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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-01-19 00:15
Updated : 2026-01-26 15:05
NVD link : CVE-2026-23829
Mitre link : CVE-2026-23829
CVE.ORG link : CVE-2026-23829
JSON object : View
Products Affected
No product.
