High

Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed

  • Disclosed: 28.04.2025
  • Updated: 11.10.2026 13:20

EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.

Your application may be affected by this if all the following conditions are met:

  • You use Spring Security
  • EndpointRequest.to() has been used in a Spring Security chain configuration
  • The endpoint which EndpointRequest references is disabled or not exposed via web
  • Your application handles requests to /null and this path needs protection

You are not affected if any of the following is true:

  • You don't use Spring Security
  • You don't use EndpointRequest.to()
  • The endpoint which EndpointRequest.to() refers to is enabled and is exposed
  • Your application does not handle requests to /null or this path does not need protection

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework.boot:spring-boot <= 2.7.24.2, >= 3.1.0, <= 3.1.15.2, >= 3.2.0, <= 3.2.13.2, >= 3.3.0, < 3.3.11, >= 3.4.0, < 3.4.5 3.3.11, 3.4.5

References

CVSS score 7.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-20, CWE-862
Platform
Java / Kotlin (Maven)
Package
org.springframework.boot:spring-boot
Disclosed
28.04.2025
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-rc42-6c7j-7h5r - CC BY 4.0

Vulnerability history: org.springframework.boot:spring-boot

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
10.2018 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 3
  • Medium 1

Disclosures per year

  1. 2018: 1
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 1
  6. 2023: 0
  7. 2024: 0
  8. 2025: 1
  9. 2026: 2
  1. High · 7.0 CVE-2026-40973 >= 4.0.0, < 4.0.6, >= 3.5.0, < 3.5.14, >= 3.4.0, <= 3.4.15, >= 3.3.0, <= 3.3.18, <= 2.7.32 4.0.6, 3.5.14
  2. Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed this entry
    High · 7.3 CVE-2025-22235 <= 2.7.24.2, >= 3.1.0, <= 3.1.15.2, >= 3.2.0, <= 3.2.13.2, >= 3.3.0, < 3.3.11, >= 3.4.0, < 3.4.5 3.3.11, 3.4.5
  3. Medium · 5.9 CVE-2018-1196 >= 1.5.0, < 1.5.10 1.5.10

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.