# CVE-2025-22235: Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed

- Severity: High 7.3 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-04-28T07:10:35.370Z
- Modified: 2026-09-10T03:50:24.246Z
- Also known as: GHSA-rc42-6c7j-7h5r
- Weaknesses: CWE-20, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: vmware

## 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

(As written by CVE List.)

## Affected

- Spring Spring Boot: from 2.7.x before 2.7.25; from 3.1.x before 3.1.16; from 3.2.x before 3.2.14; from 3.3.x before 3.3.11; from 3.4.x before 3.4.5
- org.springframework.boot:spring-boot (Maven): up to 2.7.24.2; from 3.1.0 up to 3.1.15.2; from 3.2.0 up to 3.2.13.2; from 3.3.0 before 3.3.11; from 3.4.0 before 3.4.5

## Every score

- vmware: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://spring.io/security/cve-2025-22235> (web)
- <https://security.netapp.com/advisory/ntap-20250516-0010/>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22235> (advisory)
- <https://github.com/spring-projects/spring-boot> (package)
- <https://security.netapp.com/advisory/ntap-20250516-0010> (web)

## Sources

- CVE List: [CVE-2025-22235](https://www.cve.org/CVERecord?id=CVE-2025-22235), CVE Terms of Use, modified 2025-05-16
- GitHub Advisory Database: [GHSA-rc42-6c7j-7h5r](https://github.com/advisories/GHSA-rc42-6c7j-7h5r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-22235](https://nvd.nist.gov/vuln/detail/CVE-2025-22235), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-22235 · Whole record: https://cve.day/CVE-2025-22235.json · Rebuilt by cve.day 2026-11-25T22:58:56.990Z
