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

Most critical Spring Framework vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2022-229659.8 Critical2022-04-01Spring Framework JDK 9+ Remote Code ExecutionYes
2CVE-2026-478849.8 Critical2026-08-27Path traversalNo
3CVE-2026-478909.8 Critical2026-08-27Critical security flawNo
4CVE-2026-478919.8 Critical2026-08-27Allocation without limitsNo
5CVE-2026-478929.8 Critical2026-08-27Incorrect authorizationNo
6CVE-2026-593139.8 Critical2026-08-27Critical security flawNo
7CVE-2026-418559.8 Critical2026-06-09Insecure deserializationNo
8CVE-2026-409749.8 Critical2026-04-28Improper certificate validationNo
9CVE-2023-340349.8 Critical2023-07-19Critical security flawNo
10CVE-2023-208739.8 Critical2023-04-20Critical security flawNo

Each Spring Framework CVE explained

1. CVE-2022-22965: Spring Framework JDK 9+ Remote Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-04-04)
  • Published 2022-04-01
  • CWE-94
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)

NVD record for CVE-2022-22965 (opens in a new tab)

2. CVE-2026-47884: Path traversal

  • CVSS 9.8 Critical
  • Published 2026-08-27
  • CWE-22
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)

NVD record for CVE-2026-47884 (opens in a new tab)

3. CVE-2026-47890: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-08-27
  • CWE-93
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)

NVD record for CVE-2026-47890 (opens in a new tab)

4. CVE-2026-47891: Allocation without limits

  • CVSS 9.8 Critical
  • Published 2026-08-27
  • CWE-770
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)

NVD record for CVE-2026-47891 (opens in a new tab)

5. CVE-2026-47892: Incorrect authorization

  • CVSS 9.8 Critical
  • Published 2026-08-27
  • CWE-863
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)

NVD record for CVE-2026-47892 (opens in a new tab)

6. CVE-2026-59313: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-08-27
  • CWE-93
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).

NVD record for CVE-2026-59313 (opens in a new tab)

7. CVE-2026-41855: Insecure deserialization

  • CVSS 9.8 Critical
  • Published 2026-06-09
  • CWE-502
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)

NVD record for CVE-2026-41855 (opens in a new tab)

8. CVE-2026-40974: Improper certificate validation

  • CVSS 9.8 Critical
  • Published 2026-04-28
  • CWE-295
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)

NVD record for CVE-2026-40974 (opens in a new tab)

9. CVE-2023-34034: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2023-07-19
  • CWE-281
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)

NVD record for CVE-2023-34034 (opens in a new tab)

10. CVE-2023-20873: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2023-04-20
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)

NVD record for CVE-2023-20873 (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.

Spring Framework release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Spring Framework 7.0Nov 30, 2025Jul 31, 20277.0.10Supported
Spring Framework 6.2Nov 30, 2024Jun 30, 20266.2.19End of life
Spring Framework 6.1Nov 30, 2023Jun 30, 20256.1.21End of life
Spring Framework 6.0Nov 30, 2022Jun 30, 20246.0.23End of life
Spring Framework 5.3 (LTS)Oct 31, 2020Aug 31, 20245.3.39End of life
Spring Framework 5.2Sep 30, 2019Dec 31, 20215.2.25End of life
Spring Framework 5.1Sep 30, 2018Dec 31, 20205.1.20End of life
Spring Framework 5.0Sep 28, 2017Dec 31, 20205.0.20End 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

  1. Update the core, themes, plugins and extensions as soon as security releases appear.
  2. Remove plugins, themes and modules you do not use.
  3. Give users the minimum role they need and enable two-factor authentication for administrators.
  4. Keep debug and development modes off in production.
  5. Back up files and database before every update.
  6. 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.

Few stacks run Spring Framework alone. These guides cover the technologies it is most often deployed with.

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

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.