CVE-2025-22235: Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
Vulnerability summary
CVE-2025-22235 is a high (CVSS 7.3) Improper Input Validation vulnerability in spring spring boot. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.8% of scored vulnerabilities.
Severe, CVSS 7.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 3Timeline
- 28-04-2025PublishedVulnerability first disclosed.
- 16-05-2025Last modifiedVulnerability information updated.
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
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · MavenEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVDNIST7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.44% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard19 products
- camunda-zeebe-8.6< 8.6.13-r2
- camunda-zeebe-8.6-compat< 8.6.13-r2
- kayenta-2025.0All versions (No fix recorded)
- kayenta-2025.1All versions (No fix recorded)
- kayenta-2025.2All versions (No fix recorded)
Wolfi2 products
- keycloak-config-cli< 6.4.0-r51
- thingsboardAll versions (No fix recorded)
Org.springframework.boot1 product
- spring-boot≤ 2.7.24.2 | ≥ 3.1.0, ≤ 3.1.15.2 | ≥ 3.2.0, ≤ 3.2.13.2 | ≥ 3.3.0, < 3.3.11 | ≥ 3.4.0, < 3.4.5
Spring1 product
- 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
Ubuntu1 product
- libspring-javaAll versions (No fix recorded)
5 vendors · 24 products