Intel

AIKIDO-2026-574584

aiosmtplib is vulnerable to Argument Injection

Argument InjectionCVE-2026-90467 Published Yesterday

63

Medium Risk

This Affects:

PYTHONaiosmtplib
0.0.1 - 5.1.2
Fixed in 5.1.3
Are you affected? Scan for Free

TL;DR

aiosmtplib builds the MAIL FROM, RCPT TO, VRFY, EXPN and sendmail command lines from caller supplied addresses, and parse_address accepts values containing whitespace or angle brackets outside a quoted local part. An address such as user@example.com> AUTH=<attacker@example.com smuggles additional tokens onto the envelope command line. This lets callers append ESMTP parameters such as AUTH, NOTIFY or ORCPT, forging authenticated identities or redirecting delivery notifications to third parties. The fix validates every address and rejects these characters before any command is sent.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you pass user controlled or externally influenced email addresses to the sending API.

Background info

aiosmtplib is vulnerable to Argument Injection in versions 0.0.1 - 5.1.2.

How to fix this

Upgrade the aiosmtplib library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform