Incorrect Comparison in Mongoose - CVE-2026-73258
Published: August 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass Content-Type-based security filters and corrupt multipart header parsing.
The vulnerability exists due to incorrect comparison in mg_http_next_multipart() when parsing multipart form-data headers and boundaries. A remote attacker can send a specially crafted multipart request to bypass Content-Type-based security filters and corrupt multipart header parsing.
The issue can be triggered by embedding a lone carriage return in a multipart header, which can truncate header values, corrupt filenames, or misidentify boundary lines.