Home / Spring / Spring Boot / CVE-2025-22235
CVE-2025-22235: is it exploited, and which versions of Spring Boot are affected and fixed?
CVE-2025-22235 is an improper input validation vulnerability in Spring Boot. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: org.springframework.boot:spring-boot through 2.7.24.2, org.springframework.boot:spring-boot through 3.1.15.2, org.springframework.boot:spring-boot through 3.2.13.2 and 2 more (GitHub advisory GHSA-rc42-6c7j-7h5r). Fixed in 3.3.11 and 3.4.5 (GitHub advisory GHSA-rc42-6c7j-7h5r). Severity: High (7.3, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-22235?
Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
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
From the CVE record by vmware, last updated May 16, 2025, 23:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 | 2.7.25, 3.1.16, 3.2.14, 3.3.11, 3.4.5 |
As the CVE record by vmware states it, last updated May 16, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.boot:spring-boot | <= 2.7.24.2 | none listed | GHSA-rc42-6c7j-7h5r |
| Maven | org.springframework.boot:spring-boot | >= 3.1.0, <= 3.1.15.2 | none listed | GHSA-rc42-6c7j-7h5r |
| Maven | org.springframework.boot:spring-boot | >= 3.2.0, <= 3.2.13.2 | none listed | 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 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 17, 2025. Summary: Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed.
How severe is CVE-2025-22235?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-22235 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 28, 2025)
- EPSS
- 0.45% probability of exploitation activity in the next 30 days, percentile 40.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- January 2, 2025
- Published
- April 28, 2025, 07:10 UTC
- CVE record updated
- May 16, 2025, 23:03 UTC by vmware
- NVD
- Deferred, last modified June 17, 2026, 08:45 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Boot?
- Dec 2, 2026CVE-2026-59414 Spring Boot: path traversal (reading or writing files outside the intended folder)
- Dec 2, 2026CVE-2026-59413 Spring Boot
- Dec 2, 2026CVE-2026-59412 Spring Boot
- Dec 2, 2026CVE-2026-59411 Spring Boot
- Dec 2, 2026CVE-2026-59410 Spring Boot
- Dec 2, 2026CVE-2026-59409 Spring Boot
- Dec 2, 2026CVE-2026-59408 Spring Boot: missing authentication for a critical function
- Dec 2, 2026CVE-2026-59407 Spring Boot
Questions about CVE-2025-22235
Is CVE-2025-22235 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.45% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Spring Boot are affected by CVE-2025-22235?
org.springframework.boot:spring-boot through 2.7.24.2, org.springframework.boot:spring-boot through 3.1.15.2, org.springframework.boot:spring-boot through 3.2.13.2, org.springframework.boot:spring-boot from 3.3.0 before 3.3.11 and org.springframework.boot:spring-boot from 3.4.0 before 3.4.5, per the GitHub advisory GHSA-rc42-6c7j-7h5r. The tables above give every range the sources list.
Which version fixes CVE-2025-22235?
3.3.11 and 3.4.5, per the GitHub advisory GHSA-rc42-6c7j-7h5r. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-22235?
High (7.3, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2025-22235?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.