CVE-2026-30227: jstedfast MimeKit · CRLF Injection
Affects jstedfast MimeKitSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 4.15.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 66% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.15.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade MimeKit and mimekit to 4.15.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| jstedfastMimeKit | Affected
| Fixed in
|
NuGetmimekitpkg:nuget/mimekitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately upgrade MimeKit to version 4.15.1 or later, where the vulnerability is patched. Developers using MimeKit should audit their code to ensure that any user-controllable input used in MailboxAddress fields is properly validated and sanitized to prevent injection of CRLF characters. Implement strict input validation on email address fields, rejecting any input containing control characters or non-compliant syntax per RFC 5321. Employ application-layer filters or SMTP proxies that can detect and block anomalous SMTP command sequences indicative of injection attempts. Conduct thorough testing of email handling workflows to verify that injected commands cannot be executed. Monitor email logs for unusual SMTP commands or session resets that may indicate exploitation attempts. Finally, maintain awareness of MimeKit updates and security advisories to promptly address future vulnerabilities.
Description
MimeKit is a C# library which may be used for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME), as defined by numerous IETF specifications. Prior to version 4.15.1, a CRLF injection vulnerability in MimeKit allows an attacker to embed \r\n into the SMTP envelope address local-part (when the local-part is a quoted-string). This is non-compliant with RFC 5321 and can result in SMTP command injection (e.g., injecting additional RCPT TO / DATA / RSET commands) and/or mail header injection, depending on how the application uses MailKit/MimeKit to construct and send messages. The issue becomes exploitable when the attacker can influence a MailboxAddress (MAIL FROM / RCPT TO) value that is later serialized to an SMTP session. RFC 5321 explicitly defines the SMTP mailbox local-part grammar and does not permit CR (13) or LF (10) inside Quoted-string (qtextSMTP and quoted-pairSMTP ranges exclude control characters). SMTP commands are terminated by <CRLF>, making CRLF injection in command arguments particularly dangerous. This issue has been patched in version 4.15.1.