CVE-2026-1299
email BytesGenerator header injection due to unquoted newlines
7.1CVSSHIGH
Description
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".
CVSS Vector Breakdown
Exploitability
AV:NAccess VectorNetwork
AC:LAccess ComplexityLow
Impact
C:LConfidentialityL
I:HIntegrityH
A:NAvailabilityNone
Weaknesses
Affected Products
and 6 more affected products View all →
Exploitability
Official Patch Available
References
https://cve.org/CVERecord?id=CVE-2024-6923
cve.org
https://github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413
github.com
https://github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8
github.com
and 12 more references View all →
Timeline
Published
Jan 23, 2026
Last Updated
Feb 13, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-1299 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows