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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Boot | 2.7.x – < 2.7.25, 3.1.x – < 3.1.16, 3.2.x – < 3.2.14, 3.3.x – < 3.3.11, 3.4.x – < 3.4.5 | 2.7.25 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libspring-java | No fix yet | — |
| Ubuntu 26.04 LTS | libspring-java | No fix yet | — |
| Ubuntu 25.10 | libspring-java | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 22.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 20.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libspring-java | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libspring-java | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | keycloak-config-cli | 6.4.0-r51 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
idealzh/cve-2025-22235-demo ★ 0 · Aug 21, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.boot:spring-boot | <= 2.7.24.2 | — | GHSA-rc42-6c7j-7h5r |
| Maven | org.springframework.boot:spring-boot | >= 3.1.0, <= 3.1.15.2 | — | GHSA-rc42-6c7j-7h5r |
| Maven | org.springframework.boot:spring-boot | >= 3.2.0, <= 3.2.13.2 | — | GHSA-rc42-6c7j-7h5r |
| Maven | org.springframework.boot:spring-boot | >= 3.3.0, < 3.3.11 | 3.3.11 | GHSA-rc42-6c7j-7h5r |
| Maven | org.springframework.boot:spring-boot | >= 3.4.0, < 3.4.5 | 3.4.5 | GHSA-rc42-6c7j-7h5r |
Advisories 2
- WID-SEC-2026-0351 Dell NetWorker (Third Party Components): Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 31, 2026
- WID-SEC-2025-0887 VMware Tanzu Spring Boot: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Nov 25, 2025