S4E just found a high [ai] ekip.btk.gov.tr change detection scanner
medium·Product Based Network Vulnerabilities·Updated Mar 13, 2026

CVE-2026-23829 Scanner

CVE-2026-23829 Scanner - CRLF Injection vulnerability in Mailpit

Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
3.3k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2026-23829
5.3
CVSSmedium
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
mailpitby axllent
< 1.28.3
Updated Aug 22, 2026View on NVD →
Detail

Mailpit is a popular email server used by various companies and individuals for sending and receiving emails. Its versatility and ease of use have made it favorable among many server administrators. The software is primarily used to test, debug, and manage email workflows in development settings. As such, it plays a vital role in ensuring that email communication within an organization functions smoothly and efficiently. However, like any other software, it needs to be kept secure to prevent exploitation by malicious attackers. This is critically important as Mailpit is often exposed to the internet, making it susceptible to external threats.

The CRLF Injection vulnerability detected in Mailpit affects versions prior to 1.28.2. This security issue arises from insufficient validation of SMTP header inputs, specifically the `RCPT TO` and `MAIL FROM` fields. It allows attackers to inject arbitrary SMTP headers by crafting custom email addresses. This can corrupt existing headers and result in malformed email data, posing a potential threat to email integrity. Such vulnerabilities require prompt attention to prevent any possible exploitation.

The vulnerability within Mailpit occurs due to insufficient regex validation of SMTP headers. Specifically, the vulnerability permits attackers to inject arbitrary SMTP headers through the `RCPT TO` and `MAIL FROM` addresses on the Mailpit SMTP server. This flaw is attributed to the lack of filtering for inappropriate control characters within email addresses. Attackers can exploit this vulnerability by sending crafted email addresses to introduce additional headers, effectively compromising the integrity and security of email content.

If exploited, the CRLF Injection vulnerability could result in several adverse effects. Malicious actors could inject unauthorized headers into captured emails, potentially compromising the email's authenticity. Additionally, this could corrupt existing headers, such as the "Received" header, affecting the trustworthiness of the emails. Furthermore, malformed .eml files could be generated, causing potential disruptions in email processing and delivery workflows. The exploitation also violates the constraints outlined in RFC 5321, which prohibits control characters in envelope addresses, potentially leading to compliance issues.

REFERENCES

Solution Advice
  • Upgrade Mailpit to version 1.28.3 or later to eliminate the CRLF Injection vulnerability.
  • Ensure no ASCII control characters are present in the envelope addresses.
  • Regularly update and review security settings on mail servers to prevent similar vulnerabilities.
  • Educate email server admin teams on recognizing and mitigating CRLF Injection threats.
  • Implement comprehensive validation and sanitization checks for all SMTP headers.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2026-23829 Scanner - CRLF Injection vulnerability in Mailpit S4E