CVE Vulnerabilities

CVE-2026-23829

Improper Neutralization of CRLF Sequences ('CRLF Injection')

Published: Jan 19, 2026 | Modified: Jan 26, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

Mailpit is an email testing tool and API for developers. Prior to version 1.28.3, Mailpits 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.

Weakness

The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.

Potential Mitigations

References