Vulnerability

CVE-2026-23829

mediumCVSS 3.1 5.3Published 19 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Axllent mailpit

Weakness type

References

  • github.com /axllent/mailpit/commit/36cc06c125954dec6673219dafa084e13cc…
  • github.com /axllent/mailpit/releases/tag/v1.28.3
  • github.com /axllent/mailpit/security/advisories/GHSA-54wq-72mp-cq7c

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning