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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.7.25, 3.1.16, 3.2.14, 3.3.11, 3.4.5 (CNA); fix release not confirmed
- Status: published
- Published: 2025-04-28 · Modified: 2025-05-16
- Aliases: UBUNTU-CVE-2025-22235, CGA-57xm-9fjx-cw2x, CGA-h8wx-3rvg-c38p, CGA-jhm9-q9vj-98f9, CGA-jp7p-jwg7-pq23, CGA-273p-624q-65w9, CGA-2c6v-96gc-hr2h, CGA-33jr-29qc-h83m, CGA-3m8p-q5gx-233r, CGA-4qp2-rp8q-8fhh, CGA-5336-5j2w-xm4j, CGA-57cc-f7gq-mj5m, CGA-5fhc-526j-rwqq, CGA-6q57-pw4w-qfjr, CGA-6whp-xv4m-7vx7, CGA-6x88-45h9-wgpq, CGA-75fg-vrwq-rj66, CGA-79w7-hjcv-6q8x, CGA-7mhw-29gx-65mf, CGA-8cq2-hqqx-9hhc, CGA-8j3w-w8gj-42vf, CGA-8p7g-qm59-9r5g, CGA-98gq-7g7h-g94j, CGA-cr68-v8w9-7h74, CGA-ffpv-57hf-5ffc, CGA-fwjp-xphr-58fq, CGA-hr3m-w654-6fgp, CGA-hxh4-q5fq-97gp, CGA-mh8g-gvgp-x4f3, CGA-mhr4-m4r4-9cxh, GHSA-rc42-6c7j-7h5r, CGA-q263-g4xc-5h7v, CGA-qf57-3qhv-6rxf, CGA-rcpv-mwvg-rqh2, CGA-v56j-hrrg-qg3w, CGA-vg55-6h5x-g7cp, CGA-wgf8-c5gh-f5vm, CGA-wp5x-gxvp-jf44, CGA-xmc2-3f9r-49wm, CGA-xmcc-722r-pg8c
- Record: https://cvemate.com/vulnerability/CVE-2025-22235 · JSON: https://cvemate.com/vulnerability/CVE-2025-22235/json

## Description

```text
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
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.449%, percentile 40.802%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- chainguard camunda-zeebe-8.6 (Chainguard): \< 8.6.13-r2
- chainguard camunda-zeebe-8.6-compat (Chainguard): \< 8.6.13-r2
- chainguard kayenta-2025.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.4 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.4 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2026.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2026.1 (Chainguard): All versions (No fix recorded)
- chainguard keycloak-config-cli (Chainguard): \< 6.4.0-r51
- chainguard ontop (Chainguard): All versions (No fix recorded)
- chainguard ontop-fips (Chainguard): All versions (No fix recorded)
- chainguard seata-server (Chainguard): All versions (No fix recorded)
- chainguard thingsboard (Chainguard): All versions (No fix recorded)
- wolfi keycloak-config-cli (Wolfi): \< 6.4.0-r51

## References

- <https://spring.io/security/cve-2025-22235>
- <https://security.netapp.com/advisory/ntap-20250516-0010/>
- <https://ubuntu.com/security/CVE-2025-22235>
- <https://www.cve.org/CVERecord?id=CVE-2025-22235>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22235>
- <https://github.com/spring-projects/spring-boot>
- <https://security.netapp.com/advisory/ntap-20250516-0010>

---

Data as of 2026-12-05T04:23:14.683Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
