CVE-2026-53533CWE-77CWE-93command-injection

CVE-2026-53533

published August 18, 2026

CVSS
6.9
EPSS
1%
Percentile
43.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
6.9 · NONE
CVSS v4.0
6.9 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:H/SA:N
EPSS
0.00525 · 43.7th percentile
Weaknesses
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection'); CWE-93 · Improper Neutralization of CRLF Sequences ('CRLF Injection')
Published
2026-08-18T22:18Z
References (3)
EPSS history
Timeline
  • 18 AUG 17:54Z
    aiosmtplib: SMTP command injection via CR/LF in sender/recipient address
    cvelistv5