Incomplete Cleanup Affecting org.springframework:spring-web package, versions [,6.2.18)[7.0.0-M1,7.0.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-16109615
  • published21 Apr 2026
  • disclosed17 Apr 2026
  • creditXint Code, Yuki Matsuhashi

Introduced: 17 Apr 2026

NewCVE-2026-22740  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade org.springframework:spring-web to version 6.2.18, 7.0.7 or higher.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Incomplete Cleanup via multipart request handling in WebFlux. An attacker can exhaust disk space by sending multipart requests with large parts that trigger creation of temporary files, which under certain conditions are not deleted after the request completes, leading to accumulation of temp files and denial of service.

CVSS Base Scores

version 4.0
version 3.1