Use of Non-Canonical URL Paths for Authorization Decisions Affecting org.springframework.boot:spring-boot-security package, versions [,4.0.10)[4.1.0-M1,4.1.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-ORGSPRINGFRAMEWORKBOOT-22730851
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • credit李秉卓, LiZhiyao

Introduced: 19 Nov 2026

NewCVE-2026-59414  (opens in a new tab)
CWE-647  (opens in a new tab)

How to fix?

Upgrade org.springframework.boot:spring-boot-security to version 4.0.10, 4.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Use of Non-Canonical URL Paths for Authorization Decisions in the EndpointRequest and PathRequest classes, which build Spring Security request matchers from a raw endpoint, H2-console, or static-resource path without normalizing it. A path whose configured form differs from the dispatched request path (for example by a trailing slash) is not matched by the intended security rule, leaving that path unsecured. This affects applications relying on EndpointRequest or PathRequest matchers to secure actuator endpoints, the H2 console, or static resource locations.

CVSS Base Scores

version 4.0
version 3.1