CVE-2025-22235Spring Boot
High 7.3 No auth needed
Follow: this CVE · Spring · Spring Boot We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- No
- Published
- Apr 28, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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
What to do
- Apply the vendor's security update for Spring Boot.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.boot:spring-boot |
≤ 2.7.24.2 |
no fixed version | — |
| Maven | org.springframework.boot:spring-boot |
≥ 3.1.0 ≤ 3.1.15.2 |
no fixed version | — |
| Maven | org.springframework.boot:spring-boot |
≥ 3.2.0 ≤ 3.2.13.2 |
no fixed version | — |
| Maven | org.springframework.boot:spring-boot |
≥ 3.3.0 < 3.3.11 |
3.3.11 |
— |
| Maven | org.springframework.boot:spring-boot |
≥ 3.4.0 < 3.4.5 |
3.4.5 |
— |
Per OSV / GitHub Advisories (GHSA-rc42-6c7j-7h5r). Check the version in your lockfile before upgrading.
Affected products
- Spring · Spring Boot
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.