CVE-2026-22740: Spring Framework DoS with Multipart Temp Files in WebFlux

MEDIUM | APRIL 17, 2026 | CVE-2026-22740

Description

A WebFlux server application that processes multipart requests creates temp files for parts larger than 10 K. Under some circumstances, temp files may remain not deleted after the request is fully processed. This allows an attacker to consume available disk space.

Affected Spring Products and Versions

Spring Framework:

  • 7.0.0 - 7.0.6
  • 6.2.0 - 6.2.17
  • 6.1.0 - 6.1.26
  • 5.3.0 - 5.3.47
  • Older, unsupported versions are also affected.

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
7.0.x 7.0.7 OSS
6.2.x 6.2.18 OSS
6.1.x 6.1.27 Commercial
5.3.x 5.3.48 Commercial

No further mitigation steps are necessary.

Credit

This vulnerability was discovered and reported independently by Xint Code and Yuki Matsuhashi.

References

History

  • 2026-04-17: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all