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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | aiosmtpd | All versions before 1.4.6 (fixed in 1.4.6) |
References
- https://github.com/aio-libs/aiosmtpd/security/advisories/GHSA-wgjv-9j3q-jhg8
- https://nvd.nist.gov/vuln/detail/CVE-2024-34083
- https://github.com/aio-libs/aiosmtpd/commit/b3a4a2c6ecfd228856a20d637dc383541fcdbfda
- https://github.com/aio-libs/aiosmtpd
- https://nostarttls.secvuln.info
- https://pypi.org/project/aiosmtpd
- https://github.com/advisories/GHSA-wgjv-9j3q-jhg8