CVE-2026-30227
Last modified
CVE-2026-30227 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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). EPSS estimates a 1.08% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jstedfast | Mimekit | < 4.15.1 |
References
- https://github.com/jstedfast/MimeKit/security/advisories/GHSA-g7hc-96xr-gvvxExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-30227?
How severe is CVE-2026-30227?
How do I fix CVE-2026-30227?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-3021Non-relational SQL injection vulnerability (NoSQLi) in the W…6.5
- CVE-2026-3022Non-relational SQL injection vulnerability (NoSQLi) in the W…6.5
- CVE-2026-30223OliveTin gives access to predefined shell commands from a we…8.8
- CVE-2026-30224OliveTin gives access to predefined shell commands from a we…5.4
- CVE-2026-30225OliveTin gives access to predefined shell commands from a we…4.3
- CVE-2026-30226Svelte devalue is a JavaScript library that serializes value…7.5
- CVE-2026-30228Parse Server is an open source backend that can be deployed …4.9
- CVE-2026-30229Parse Server is an open source backend that can be deployed …7.2
- CVE-2026-3023Non-relational SQL injection vulnerability (NoSQLi) in the W…8.8
- CVE-2026-30230Flare is a Next.js-based, self-hostable file sharing platfor…7.5
- CVE-2026-30231Flare is a Next.js-based, self-hostable file sharing platfor…5.3
- CVE-2026-30232Chartbrew is an open-source web application that can connect…9.6
Are you affected by CVE-2026-30227?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
