Intel

AIKIDO-2026-785486

@zone-eu/mailsplit is vulnerable to MIME Boundary Smuggling

MIME Boundary Smuggling Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 12, 2026

65

Medium Risk

This Affects:

JS@zone-eu/mailsplit
5.4.6 - 5.4.14
Fixed in 5.4.15
Are you affected? Scan for Free

TL;DR

The MIME parser in message-splitter.js mishandles multipart boundary ownership, so a crafted message can deactivate a live outer boundary or collapse real parts in the preamble into one opaque chunk. This desynchronizes the parsed node stream from what a recipient mail client renders, letting attachments and other parts stay hidden from downstream scanners while the message still round-trips byte for byte. Header reconstruction in headers.js also fails to neutralize CR and LF sequences at the single insertion point and can promote a folded continuation line into a new header, allowing header injection when applications add or update headers using externally influenced values. The fix resolves boundary owners exactly, sanitizes inserted header keys and values, refuses to emit headers the parser never reported, and bounds pending-line buffering to limit resource exhaustion on overlong lines.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use it to parse untrusted email messages or rebuild headers from externally influenced input.

Background info

@zone-eu/mailsplit is vulnerable to MIME Boundary Smuggling in versions 5.4.6 - 5.4.14.

How to fix this

Upgrade the @zone-eu/mailsplit library to the patch version.