Prevent multipart content-type backtracking
fix: prevent multipart content-type backtracking (#17679)
Prevent multipart content-type backtrackinga74214-fix-prevent-multipart-content-type-backtracking-cve-2026-105844-cve-2026-105845fixprevent multipart content type backtracking
Committed by JarrodMFlesch
commit message
fix: prevent multipart content-type backtracking (#17679)
Updates multipart `Content-Type` validation so parameter separators
cannot also be consumed as parameter content. This allows malformed
values to be rejected promptly while preserving the multipart subtype
and parameter formats Payload already supports.
---------
Co-authored-by: Patrik Kozak <[email protected]>Editor assessment
This commit patches CVE-2026-105844 and CVE-2026-105845. Clear, focused and correctly scoped. The subject states the fix (prevent multipart content-type backtracking) and the body explains the actual defect: parameter separators could also be consumed as parameter content, so malformed Content-Type values were not rejected promptly, while supported multipart subtypes and parameter formats are preserved. That is enough for a reader to understand the change without the diff. A scope would complete the header, but none is strictly needed. Style-wise the message is clean and focused, with a correct type and no trailing period; the only formal gap is the optional scope, and the body is short enough to scan in one pass.