CVE-2025-22235

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

HIGH
7.3
CVSS Score
Published: April 28, 2025 at 07:10 AM UTC
Updated: June 17, 2026 at 08:45 AM UTC
1 product affected across 1 vendorSpring Boot

Using Spring Boot by Spring?

Get instant alerts when new vulnerabilities affect Spring Boot - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.3
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.7.x ≤ v < 2.7.253.1.x ≤ v < 3.1.163.2.x ≤ v < 3.2.143.3.x ≤ v < 3.3.113.4.x ≤ v < 3.4.52.7.x3.1.x3.2.x3.3.x3.4.x
Affected range stops below 2.7.25, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.1.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.2.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.3.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.4.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.3HIGHvmware
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card