CRLF header injection in zbateson mail-mime-parser message builders
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
zbateson mail-mime-parser from 0.3.0 before 3.0.9 and from 4.0.0 before 4.0.6 is affected. Its message-building helpers fail to strip CR and LF characters, a CRLF header injection flaw (CWE-93). A remote attacker who supplies crafted MIME type, charset, encoding, micalg or protocol values can inject extra header lines, such as a forged Bcc, into outgoing messages without authentication or user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Description from the CNA
zbateson mail-mime-parser before 3.0.9 and 4.x before 4.0.6 contains a CRLF header injection vulnerability in message-building helpers that fail to strip CR and LF characters. Attackers supplying crafted MIME type, charset, encoding, micalg, or protocol values can inject extra header lines such as a forged Bcc into outgoing messages.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade mail-mime-parser to 3.0.9 for the 3.x branch or to 4.0.6 for the 4.x branch, which fix the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
- Fix · CNA mail-mime-parser (zbateson) Fixed in 3.0.9, 4.0.6
Timeline
- 2026-11-04 Threatist record created from CVE-2026-121946
- 2026-11-04 Alias added: GHSA-5gqw-c8wj-82xp
- 2026-11-04 CISA SSVC decision points changed
- 2026-11-04 Priority changed: MEDIUM → HIGH
References
Patch 4
- https://github.com/zbateson/mail-mime-parser/commit/f385b2923023a9a7b69003468e363a4661f1c85a
- https://github.com/zbateson/mail-mime-parser/commit/1fa840ef367958e991e6840b4e3ffd41aca9d147
- https://github.com/zbateson/mail-mime-parser/commit/c31c62ccc3e66a7a7da0d79954ef83807f9daa20
- https://github.com/zbateson/mail-mime-parser/commit/b032920875c6cb35bb2ddd7abfd7e98608d75bc0
More zbateson vulnerabilities
- TI-2026-44241 zbateson/mail-mime-parser has uncontrolled resource consumption (CPU/memory DoS) parsing untrusted MIME CVSS 3.1HIGH 7.5
- TI-2026-44240 zbateson/mail-mime-parser has CRLF header injection via attachment filename CVSS 3.1HIGH 7.2
Sources
- CVE-2026-121946 · CVE Program
- CVE-2026-121946 · NVD
- FIRST EPSS
- GHSA-5gqw-c8wj-82xp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences