cbcvebase.
CVE-2026-1299
published 2026-01-23

CVE-2026-1299: The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for…

PriorityP336medium6CVSS 4.0
AVNACLATPPRLUINVCLVIHVANSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.56%
42.8th percentile
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".

Affected

14 ranges
VendorProductVersion rangeFixed in
debianpypy3< python3.13 3.13.12-1 (forky)python3.13 3.13.12-1 (forky)
debianpython3.11< python3.13 3.13.12-1 (forky)python3.13 3.13.12-1 (forky)
debianpython3.13< python3.13 3.13.12-1 (forky)python3.13 3.13.12-1 (forky)
debianpython3.14< python3.13 3.13.12-1 (forky)python3.13 3.13.12-1 (forky)
debianpython3.9< python3.13 3.13.12-1 (forky)python3.13 3.13.12-1 (forky)
python_software_foundationcpython< 3.10.203.10.20
python_software_foundationcpython>= 3.11.0 < 3.11.153.11.15
python_software_foundationcpython>= 3.12.0 < 3.12.133.12.13
python_software_foundationcpython>= 3.13.0 < 3.13.123.13.12
python_software_foundationcpython>= 3.14.0 < 3.14.33.14.3
python_software_foundationcpython>= 3.15.0a1 < 3.15.0a63.15.0a6
ubuntupython3.10
ubuntupython3.12
ubuntupython3.14

CVSS provenance

nvdv4.06.0MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osv6.0MEDIUM
vendor_debian6.0MEDIUM
vendor_redhat6.0MEDIUM
vendor_ubuntu3.3LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.