aiosmtplib before 5.1.3 fails to properly validate email addresses supplied by callers, allowing attackers to inject ESMTP parameters into MAIL FROM and RCPT TO command lines
Affects aiosmtplibSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 24 Nov 2026, 21:29 UTC
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Sep 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 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10aiosmtplibpkg:deb/ubuntu/aiosmtplib?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSaiosmtplibpkg:deb/ubuntu/aiosmtplib?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSaiosmtplibpkg:deb/ubuntu/aiosmtplib?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
aiosmtplib before 5.1.3 fails to properly validate email addresses supplied by callers, allowing attackers to inject ESMTP parameters into MAIL FROM and RCPT TO command lines. Attackers can craft malicious addresses containing spaces and angle brackets to append parameters like AUTH, NOTIFY, or ORCPT to envelope commands, forging authenticated identities or forcing delivery notifications to third parties.
References
- ubuntu.com/security/CVE-2026-90467 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-90467 (opens in a new tab)
- github.com/cole/aiosmtplib (opens in a new tab)
- github.com/cole/aiosmtplib/blob/v5.1.2/src/aiosmtplib/email.py (opens in a new tab)
- github.com/cole/aiosmtplib/commit/2e1b210714974ccc9efd0d09a8f846cb9aeaaec2 (opens in a new tab)
- github.com/cole/aiosmtplib/releases/tag/v5.1.3 (opens in a new tab)
- vulncheck.com/advisories/aiosmtplib-before-5.1.3-esmtp-parameter-injection-via-unvalidated-addresses (opens in a new tab)