[GHSA-cjpg-rgq5-fr37] Spring Framework Multipart Request Smuggling in Spring MVC and WebFlux - #9588
Open
levpachmanov wants to merge 1 commit into
Conversation
github-actions
Bot
changed the base branch from
main
to
levpachmanov/advisory-improvement-9588
September 16, 2026 17:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Comments
The affected package should be
org.springframework:spring-core, notspring-webmvc/spring-webflux.The fix for CVE-2026-41853 is commit 8a93a889620c ("Fix parsing failure for MIME types with quoted pairs", gh-36730), a one-line change to
MimeTypeUtils.parseMimeTypeInternalinspring-core: the parameter scanner toggled itsquotedstate on backslash-escaped quotes, so a\"inside a quoted parameter value (e.g. the multipartboundary) ended the quoted string early and a following;was treated as a parameter separator. That is the interpretation gap a WAF/proxy and the application disagree on (CWE-444).Diffing
v6.2.18...v6.2.19shows no production change underspring-webmvc/orspring-webflux/related to this issue; thespring-webmultipart codec changes in that release are commit a58fdeaf3fc1 (gh-36694), an unrelatedPartGeneratortemp-file race fix.MimeTypeUtilsis present only in thespring-corejar (Spring publishes thin per-module jars), and the vulnerable line is present in spring-core at v5.3.39 / v6.1.21 / v6.2.18 / v7.0.7 and fixed at v6.2.19 / v7.0.8.