CVE-2026-1299 in Class products
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 ...
Affects 0 products from 1 vendor. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Class | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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".
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-1299 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-061337-I |
| Published | 2026-01-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-93: CWE-93
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-93
CAPEC-15 Command Delimiters via CWE-93
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The email module's BytesGenerator class in Python does not properly quote newlines for email headers during serialization, which can lead to header injection if LiteralHeader is used with incorrectly folded headers.
An attacker can craft an email with improperly folded headers using the LiteralHeader method, which the BytesGenerator class will not properly quote. This can result in header injection, potentially allowing the attacker to manipulate email headers and content.
Questions
What is CVE-2026-1299?
The email module's BytesGenerator class in Python does not properly quote newlines for email headers during serialization, which can lead to header injection if LiteralHeader is used with incorrectly folded headers.
Is CVE-2026-1299 actively exploited?
No confirmed active exploitation of CVE-2026-1299 as of 2026-09-25.
How do I remediate CVE-2026-1299?
Priority: MEDIUM.
What systems are affected by CVE-2026-1299?
CVE-2026-1299 affects Class.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Class","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.