Vulnerability in Axllent Mailpit
CVE-2026-23829
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.
Vulnerability class: CRLF Injection
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.014, 73.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Axllent Mailpit — versions < 1.28.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- SimoesCTT/-CVE-2026-23829-CTT-Mailpit-phase-reconstruction- (last pushed 2026-02-19): It's a CRLF injection in Mailpit's SMTP server — a classic data corruption vulnerability. But under CTT, it's not just a bug. It's a phase reconstruction opportunity.
- SimoesCTT/CTT-Mailpit-RCE-v1.0---Temporal-Resonance-Mail-Server-Takeover (last pushed 2026-01-28): FROM HEADER INJECTION TO FULL RCE DOMINANCE The Original Flaw (CVE-2026-23829) · CVSS: 6.1/10 (Medium) - Header injection via regex bypass · Impact: Email spoofing, limited header manipulation · Re…
References
- https://github.com/axllent/mailpit/security/advisories/GHSA-54wq-72mp-cq7c (Exploit, Third Party Advisory, Mitigation)
- https://github.com/axllent/mailpit/commit/36cc06c125954dec6673219dafa084e13cc14534 (Patch)
- https://github.com/axllent/mailpit/releases/tag/v1.28.3 (Product, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.