Back to CVE records
Medium 5.3Published Jan 18, 2026

CVE-2026-23829Mailpit has SMTP Header Injection via Regex Bypass

Updated under an hour ago ()

Does this affect you?

It affects axllent mailpit. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.3 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-93, CWE-150
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jan 20, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
axllent mailpit
axllent:mailpit (from the name)
before 1.28.3
CNA record
axllent mailpit
axllent:mailpit
before 1.28.3
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.