ADVISORIES

PyPA Advisory Database

PYSEC-2026-1111

aiosmtpd STARTTLS unencrypted commands injection

Details

Summary

Servers based on aiosmtpd accept extra unencrypted commands after STARTTLS, treating them as if they came from inside the encrypted connection. This could be exploited by a MitM attack.

References

Affected packages

EcosystemPackageAffected versions
PyPIaiosmtpd
All versions before 1.4.6 (fixed in 1.4.6)

References