VulnarioBlogSpring Framework vulnerabilities
Spring Framework Vulnerabilities: The 10 Most Critical Spring Framework Security Bugs (CVEs)
Spring Framework vulnerabilities are security flaws in Spring Framework that attackers can abuse to steal data, take over a server or interrupt a service. Spring is the dominant Java application framework. The National Vulnerability Database (NVD) lists 149 CVEs for Spring Framework, 24 of them rated critical, and 74 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.
This guide lists the 10 most critical Spring Framework security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Spring Framework security basics, the current end-of-life dates and a free way to be told about the next Spring Framework CVE as soon as it is published.
Key takeaways
- 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
- 24 Spring Framework CVEs are rated critical (CVSS v3), and 74 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-47884, published Aug 27, 2026.
- Supported Spring Framework releases today (per endoflife.date): 7.0. Releases not on the list are past their announced end of life.
- You can monitor Spring Framework for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Spring Framework CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical Spring Framework CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2022-22965 | 9.8 Critical | 2022-04-01 | Spring Framework JDK 9+ Remote Code Execution | Yes |
| 2 | CVE-2026-47884 | 9.8 Critical | 2026-08-27 | Path traversal | No |
| 3 | CVE-2026-47890 | 9.8 Critical | 2026-08-27 | Critical security flaw | No |
| 4 | CVE-2026-47891 | 9.8 Critical | 2026-08-27 | Allocation without limits | No |
| 5 | CVE-2026-47892 | 9.8 Critical | 2026-08-27 | Incorrect authorization | No |
| 6 | CVE-2026-59313 | 9.8 Critical | 2026-08-27 | Critical security flaw | No |
| 7 | CVE-2026-41855 | 9.8 Critical | 2026-06-09 | Insecure deserialization | No |
| 8 | CVE-2026-40974 | 9.8 Critical | 2026-04-28 | Improper certificate validation | No |
| 9 | CVE-2023-34034 | 9.8 Critical | 2023-07-19 | Critical security flaw | No |
| 10 | CVE-2023-20873 | 9.8 Critical | 2023-04-20 | Critical security flaw | No |
Each Spring Framework CVE explained
1. CVE-2022-22965: Spring Framework JDK 9+ Remote Code Execution
- What NVD says
- A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 5.2.20; 5.3.0 to before 5.3.18
- What to do
- Upgrade to the fixed release for your branch (5.2.20, 5.3.18) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2026-47884: Path traversal
- What NVD says
- Use of XsltView in a Spring MVC application can result in SSRF and RCE attack if the application has an "/**" mapping that results in view rendering, and where the view name is not explicitly specified. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlier
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 5.2.26; 5.3.0 to before 5.3.50; 6.0.0 to before 6.0.31; 6.1.0 to before 6.1.29
- What to do
- Upgrade to the fixed release for your branch (5.2.26, 5.3.50, 6.0.31) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2026-47890: Critical security flaw
- What NVD says
- Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE) with view fragments. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 6.2.0 to before 6.2.20; 7.0.0 to before 7.0.8.1
- What to do
- Upgrade to the fixed release for your branch (6.2.20, 7.0.8.1) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2026-47891: Allocation without limits
- What NVD says
- A Spring WebFlux application that relies on the Aalto XML processor to parse XML input does not correctly enforce the maxInMemorySize limit. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlier
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 5.2.26; 5.3.0 to before 5.3.50; 6.0.0 to before 6.0.31; 6.1.0 to before 6.1.29
- What to do
- Upgrade to the fixed release for your branch (5.2.26, 5.3.50, 6.0.31) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2026-47892: Incorrect authorization
- What NVD says
- A WebFlux application using functional endpoints and deployed with DispatcherServlet may be vulnerable to a header predicate bypass in a pre-flight request. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.5.RELEASE - 5.2.25.RELEASE
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 5.2.5 to before 5.2.26; 5.3.0 to before 5.3.50; 6.0.0 to before 6.0.31; 6.1.0 to before 6.1.29
- What to do
- Upgrade to the fixed release for your branch (5.2.26, 5.3.50, 6.0.31) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2026-59313: Critical security flaw
- What NVD says
- Spring MVC applications using the functional web framework are vulnerable to stream corruption when using Server-Sent Events (SSE). Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 5.3.0 through 5.3.49; 6.0.0 through 6.0.30; 6.1.0 through 6.1.28; 6.2.0 through 6.2.19
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
7. CVE-2026-41855: Insecure deserialization
- What NVD says
- In an untrusted JMS environment, org.springframework.jms.support.converter.MappingJackson2MessageConverter and org.springframework.jms.support.converter.JacksonJsonMessageConverter allow arbitrary class instantiation, which can lead to unauthorized actions via gadget class deserialization. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 5.3.0 to before 5.3.49; 6.1.0 to before 6.1.28; 6.2.0 to before 6.2.18.1; 7.0.0 to before 7.0.7.1
- What to do
- Upgrade to the fixed release for your branch (5.3.49, 6.1.28, 6.2.18.1) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2026-40974: Improper certificate validation
- What NVD says
- Spring Boot's Cassandra auto-configuration does not perform hostname verification when establishing an SSL connection to Cassandra. Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); Cassandra SSL auto-configuration. Versions that are no longer supported are also affected per vendor advisory.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 2.7.0 to before 2.7.33; 3.3.0 to before 3.3.19; 3.4.0 to before 3.4.16; 3.5.0 to before 3.5.14
- What to do
- Upgrade to the fixed release for your branch (2.7.33, 3.3.19, 3.4.16) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
9. CVE-2023-34034: Critical security flaw
- What NVD says
- Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 5.6.0 to before 5.6.12; 5.7.0 to before 5.7.10; 5.8.0 to before 5.8.5; 6.0.0 to before 6.0.5
- What to do
- Upgrade to the fixed release for your branch (5.6.12, 5.7.10, 5.8.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2023-20873: Critical security flaw
- What NVD says
- In Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions, an application that is deployed to Cloud Foundry could be susceptible to a security bypass. Users of affected versions should apply the following mitigation: 3.0.x users should upgrade to 3.0.6+. 2.7.x users should upgrade to 2.7.11+. Users of older, unsupported versions should upgrade to 3.0.6+ or 2.7.11+.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.5.15; 2.6.0 to before 2.6.14; 2.7.0 to before 2.7.11; 3.0.0 to before 3.0.6
- What to do
- Upgrade to the fixed release for your branch (2.5.15, 2.6.14, 2.7.11) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
Spring Framework end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Spring Framework vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Spring Framework releases are 7.0.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Spring Framework 7.0 | Nov 30, 2025 | Jul 31, 2027 | 7.0.10 | Supported |
| Spring Framework 6.2 | Nov 30, 2024 | Jun 30, 2026 | 6.2.19 | End of life |
| Spring Framework 6.1 | Nov 30, 2023 | Jun 30, 2025 | 6.1.21 | End of life |
| Spring Framework 6.0 | Nov 30, 2022 | Jun 30, 2024 | 6.0.23 | End of life |
| Spring Framework 5.3 (LTS) | Oct 31, 2020 | Aug 31, 2024 | 5.3.39 | End of life |
| Spring Framework 5.2 | Sep 30, 2019 | Dec 31, 2021 | 5.2.25 | End of life |
| Spring Framework 5.1 | Sep 30, 2018 | Dec 31, 2020 | 5.1.20 | End of life |
| Spring Framework 5.0 | Sep 28, 2017 | Dec 31, 2020 | 5.0.20 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
Spring Framework security checklist
- Update the core, themes, plugins and extensions as soon as security releases appear.
- Remove plugins, themes and modules you do not use.
- Give users the minimum role they need and enable two-factor authentication for administrators.
- Keep debug and development modes off in production.
- Back up files and database before every update.
- Put a web application firewall and rate limiting in front of login pages.
Your stack is bigger than Spring Framework. A flaw anywhere in the chain can be the way in, so also review our guides to Java vulnerabilities, Apache Tomcat vulnerabilities and Log4j vulnerabilities.
How to get alerted about new Spring Framework vulnerabilities
NVD received 74 new Spring Framework CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Spring Framework and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Spring Framework alone. These guides cover the technologies it is most often deployed with.
- Java vulnerabilities: Java is the language and runtime behind a large share of enterprise software.
- Apache Tomcat vulnerabilities: Apache Tomcat is an open-source Java servlet container and web server.
- Log4j vulnerabilities: Apache Log4j is the Java logging library at the center of the Log4Shell crisis.
- Angular vulnerabilities: Angular is Google's TypeScript web application framework (AngularJS is its legacy predecessor).
- Apache Struts vulnerabilities: Apache Struts is a Java web application framework, known for the 2017 Equifax breach.
- Django vulnerabilities: Django is a high-level Python web framework.
- TYPO3 vulnerabilities: TYPO3 is an enterprise open-source CMS written in PHP.
Frequently asked questions about Spring Framework vulnerabilities
What are the most critical Spring Framework vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Spring Framework CVEs include CVE-2022-22965 (CVSS 9.8), CVE-2026-47884 (CVSS 9.8), CVE-2026-47890 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have Spring Framework vulnerabilities been exploited in real attacks?
Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 Spring Framework CVE, including CVE-2022-22965. Treat these as the highest priority to patch.
How many vulnerabilities does Spring Framework have?
As of Nov 3, 2026 the National Vulnerability Database lists 149 CVEs for Spring Framework, with 24 rated critical by CVSS v3. 74 were published in the previous twelve months.
Which Spring Framework versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Spring Framework releases as supported: 7.0. Releases that are not listed are past their announced end of life.
How can I get alerted when a new Spring Framework CVE is published?
Add Spring Framework to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Spring Framework and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Spring Framework secure?
Spring Framework is as secure as its patch level. NVD published 74 new Spring Framework CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2022-22965?
CVE-2022-22965 is a critical Spring Framework vulnerability with a CVSS score of 9.8, published Apr 1, 2022. A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Spring Framework (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.