← Back to CVEs
CVE-2026-1299
N/ADescription
The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing headers that don't respect email folding rules, the new behavior will reject the incorrectly folded headers in "BytesGenerator".
CVE Details
CVSS v3.1 ScoreN/A
Published1/23/2026
Last Modified2/13/2026
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-93
References
https://cve.org/CVERecord?id=CVE-2024-6923(cna@python.org)
https://github.com/python/cpython/issues/144125(cna@python.org)
https://github.com/python/cpython/pull/144126(cna@python.org)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.