Skip to content

[GHSA-cjpg-rgq5-fr37] Spring Framework Multipart Request Smuggling in Spring MVC and WebFlux - #9588

Open
levpachmanov wants to merge 1 commit into
levpachmanov/advisory-improvement-9588from
levpachmanov-GHSA-cjpg-rgq5-fr37
Open

levpachmanov wants to merge 1 commit into
levpachmanov/advisory-improvement-9588from
levpachmanov-GHSA-cjpg-rgq5-fr37

Conversation

@levpachmanov

Copy link
Copy Markdown

Updates

  • Affected products

Comments
The affected package should be org.springframework:spring-core, not spring-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.parseMimeTypeInternal in spring-core: the parameter scanner toggled its quoted state on backslash-escaped quotes, so a \" inside a quoted parameter value (e.g. the multipart boundary) 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.19 shows no production change under spring-webmvc/ or spring-webflux/ related to this issue; the spring-web multipart codec changes in that release are commit a58fdeaf3fc1 (gh-36694), an unrelated PartGenerator temp-file race fix. MimeTypeUtils is present only in the spring-core jar (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.

@github-actions
github-actions Bot changed the base branch from main to levpachmanov/advisory-improvement-9588 September 16, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant