CVE-2025-22235
published high CVSS 3.1 · 7.3Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Boot2.7.x to < 2.7.25 · 3.1.x to < 3.1.16 · 3.2.x to < 3.2.14 · 3.3.x to < 3.3.11 · 3.4.x to < 3.4.5 · Other versions: unaffected | Affected | Not stated | vmware |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Boot | 2.7.x to < 2.7.25 (affected · Enterprise Support Only)3.1.x to < 3.1.16 (affected · Enterprise Support Only)3.2.x to < 3.2.14 (affected · Enterprise Support Only)3.3.x to < 3.3.11 (affected · OSS)3.4.x to < 3.4.5 (affected · OSS)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
2Provider assertions
3vmware · cna
Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2ebbd999a7aa8be9ebb88808958b2a42442dead88b5c21cc21285fe11768d88a
- Ingested
- 23 Sep 2026, 08:40:04 UTC
- Source record
- Official CVE record