CVSS 3.1
7.3 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LHigh (7.3) in spring spring boot. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.boot:spring-boot 3.3.11, 3.4.5.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Lorg.springframework.boot:spring-boot (Maven): fixed in 3.3.11, 3.4.5Explain CVE-2025-22235 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22235?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22235?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22235 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Spring Boot | from 2.7.x before 2.7.25 |
| Spring Boot | from 3.1.x before 3.1.16 |
| Spring Boot | from 3.2.x before 3.2.14 |
| Spring Boot | from 3.3.x before 3.3.11 |
| Spring Boot | from 3.4.x before 3.4.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rc42-6c7j-7h5r | Maven | org.springframework.boot:spring-boot | <=2.7.24.2 | no fix published |
| GHSA-rc42-6c7j-7h5r | Maven | org.springframework.boot:spring-boot | >=3.1.0 <=3.1.15.2 | no fix published |
| GHSA-rc42-6c7j-7h5r | Maven | org.springframework.boot:spring-boot | >=3.2.0 <=3.2.13.2 | no fix published |
| 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 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 25.10, 26.04:LTS, 26.10 and 6 more | libspring-java | no fix listed | UBUNTU-CVE-2025-22235 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.
Red Hat rates this Important.
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
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| A-MQ Clients 2 | spring-boot | Affected | |
| Red Hat AMQ Broker 7 | spring-boot | Not affected | |
| Red Hat AMQ Clients | spring-boot | Affected | |
| Red Hat build of Apache Camel for Spring Boot 4 | spring-boot | Not affected | |
| Red Hat build of OptaPlanner 8 | spring-boot | Will not fix | |
| Red Hat Data Grid 8 | spring-boot | Will not fix | |
| Red Hat Enterprise Linux 8 | log4j:2/log4j | Not affected | |
| Red Hat Enterprise Linux 9 | log4j | Not affected | |
| Red Hat Fuse 7 | spring-boot | Will not fix | |
| Red Hat Integration Camel K 1 | spring-boot | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 7 | spring-boot | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 8 | spring-boot | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | spring-boot | Not affected | |
| Red Hat Process Automation 7 | spring-boot | Not affected | |
| Red Hat Single Sign-On 7 | spring-boot | Not affected | |
| streams for Apache Kafka | spring-boot | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22235.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).