CVE-2026-53533
aiosmtplib is an asynchronous SMTP client for use with asyncio. …
aiosmtplib is an asynchronous SMTP client for use with asyncio. Prior to 5.1.1, SMTP.mail(), SMTP.rcpt(), SMTP.vrfy(), and SMTP.expn() send caller-supplied addresses without rejecting embedded CR or LF bytes. Data after the line break is framed as additional standalone SMTP command lines, allowing an attacker who influences an envelope sender or recipient to inject commands such as MAIL FROM, RCPT TO, RSET, DATA, or AUTH. SMTP.sendmail() and SMTP.send() without a Message object pass addresses through the affected methods, while SMTP.send_message() is not affected. Successful injection can desynchronize the command-response pipeline, hang the SMTP instance, or send an arbitrary message without requiring attacker control of the SMTP server. This issue is fixed in version 5.1.1.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cole/aiosmtplib/security/advisories/GHSA-v3q9-hj7j-63hq
- github.com/advisories/GHSA-v3q9-hj7j-63hq
- github.com/cole/aiosmtplib/commit/8eaf6efc9a8f59e2e09d3ef11246a058c46bd3ba
- github.com/cole/aiosmtplib/releases/tag/v5.1.1
- nvd.nist.gov/vuln/detail/CVE-2026-53533
- cve.org/CVERecord?id=CVE-2026-53533
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.