CVE-2026-53533
Reported by GitHub_M · Published August 18, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| cole | aiosmtplib | < 5.1.1 |
| cole | aiosmtplib | < 5.1.1, < 5.1.1, < 5.1.1 |
| chainguard | airflow-core-2 | 0, 0 |
| chainguard | airflow-2 | 0 |
| PyPI | aiosmtplib | 0 |
Timeline
- Jun 15, 2026 CVE Published
- Jul 13, 2026 CVE Updated
- Jul 15, 2026 Security Advisory
- Aug 24, 2026 EPSS Score
- Aug 26, 2026 EPSS Score
- Aug 30, 2026 EPSS Score
- Sep 4, 2026 EPSS Score
References
- https://github.com/cole/aiosmtplib/security/advisories/GHSA-v3q9-hj7j-63hq x_refsource_CONFIRM
- https://github.com/cole/aiosmtplib/commit/8eaf6efc9a8f59e2e09d3ef11246a058c46bd3ba x_refsource_MISC
- https://github.com/cole/aiosmtplib/releases/tag/v5.1.1 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-53533 advisory
- https://github.com/advisories/GHSA-v3q9-hj7j-63hq advisory