Spring Framework Denial of Service via PathPattern

LOW | NOVEMBER 19, 2026 | CVE-2026-59429

Description

Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack if they use PathPattern with a pattern that contains a {name:regex} variable, and that regular expression is prone to excessive backtracking.

This applies to request mappings in Spring MVC and Spring WebFlux applications, as well as PathPatternParser being used directly by applications.

When those conditions are met, an attacker can send crafted request paths that consume excessive CPU time during request matching.

Affected Spring Products and Versions

Spring Framework:

  • 7.0.0 - 7.0.10
  • 6.2.0 - 6.2.20
  • 6.1.0 - 6.1.29
  • 6.0.0 - 6.0.32
  • 5.3.0 - 5.3.50
  • 5.2.26.RELEASE and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.0.11OSS
7.0.10.1Enterprise Support Only
6.2.21Enterprise Support Only
6.1.30Enterprise Support Only
6.0.33Enterprise Support Only
5.3.51Enterprise Support Only
5.2.27.RELEASEEnterprise Support Only

No further mitigation steps are necessary.

Credit

This issue was reported by YLChen-007 and Aditya Bavadekar.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

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

Learn more

Get support

TrueSource Spring Enterprise 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