Advisory

PYSEC-2026-1111

Also known as: CVE-2024-34083, GHSA-wgjv-9j3q-jhg8

Summary

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

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

aiosmtpd

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.6 (ecosystem)

Fixed versions

1.4.6

Fix

  • Fixed version 1.4.6
    pip install --upgrade aiosmtpd==1.4.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences