Security mailing lists by PureSourceCode

CVE-2026-23829

MEDIUM 5.3CVSS 3.1

Mailpit has an SMTP Header Injection via Regex Bypass

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.

Published
19 Jan 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-150CWE-93
Also known as
GHSA-54wq-72mp-cq7cGO-2026-4333
Sources
NVDJSONOSV GHSA-54wq-72mp-cq7cJSONOSV GO-2026-4333JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD axllent mailpit
cpe:2.3:a:axllent:mailpit:*:*:*:*:*:*:*:*
< 1.28.3 1.28.3
OSV Go github.com/axllent/mailpit < 1.28.3 1.28.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 19 Jan 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Feb 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.