Spring Framework response splitting in ContentDisposition

LOW | AUGUST 20, 2026 | CVE-2026-59314

Description

Applications that build a Content-Disposition header value from untrusted input may be vulnerable to HTTP response splitting when the input is a malicious file name.

Specifically, an application can be vulnerable in either of the following cases:

  • The application sets a response's Content-Disposition header from untrusted input, and the underlying HTTP connector does not itself reject malicious characters in header values. The servlet and reactive connectors supported by Spring Framework (Tomcat, Reactor Netty, Jetty, Undertow) already reject such characters, so this case applies only to non-default or legacy connectors.
  • The application uses untrusted input to set the Content-Disposition of a part when building an outbound multipart request body. This case is independent of the underlying connector.

When either condition is met, an attacker who controls content disposition values can break the HTTP header, or corrupt the framing of an outbound multipart body.

Affected Spring Products and Versions

Spring Framework:

  • 7.0.0 - 7.0.8
  • 6.2.0 - 6.2.19
  • 6.1.0 - 6.1.28
  • 6.0.0 - 6.0.30
  • 5.3.0 - 5.3.49
  • 5.2.25 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.0.9OSS
7.0.8.1Enterprise Support Only
6.2.20Enterprise Support Only
6.1.29Enterprise Support Only
6.0.31Enterprise Support Only
5.3.50Enterprise Support Only
5.2.26Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-08-20: 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