CVE-2026-1299
email BytesGenerator header injection due to unquoted newlines
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".
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAccess VectorNetwork
AC:LAccess ComplexityLow
Impact
C:LConfidentialityL
I:HIntegrityH
A:NAvailabilityNone
Weaknesses
Affected Products
Red Hat Inc.
commercial·USaka red hat
Python Software Foundation
oss-project·USaka psf
ООО «Ред Софт»
commercial·RUaka red soft
ООО «РусБИТех-Астра»
commercial·RUaka rusbitech-astra
АО «СберТех»
commercial·RUaka ao sbertech, сбертех
Exploitability
Official Patch Available
References
https://github.com/python/cpython/issues/144125
github.com
https://access.redhat.com/security/cve/cve-2026-1299
access.redhat.com
https://wiki.astralinux.ru/astra-linux-se17-bulletin-2026-0421SE17
wiki.astralinux.ru
and 12 more references View all →
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
