Pivotal Spring Framework contains unsafe Java deserialization methods
Published 24 May 2022 · Updated 10 Sept 2026
Is your project on an affected org.springframework:spring-web?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <6.0.0
- Fixed in
- 6.0.0
mvn versions:use-dep-version -Dincludes=org.springframework:spring-web -DdepVersion=6.0.0 -DforceVersion=trueDetails
Pivotal Spring Framework before 6.0.0 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of untrusted data. Depending on how the library is implemented within a product, this issue may or not occur, and authentication may be required.
Maintainers recommend investigating alternative components or a potential mitigating control. Version 4.2.6 and 3.2.17 contain enhanced documentation advising users to take precautions against unsafe Java deserialization, version 5.3.0 deprecate the impacted classes and version 6.0.0 removed it entirely.
Is GHSA-4wrc-f8pq-fpqp in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-web, and gives you the command that fixes it.
More advisories for org.springframework:spring-web
- MediumCVE-2026-41854Spring Framework Server-Side Request Forgery via UriComponentsBuilder · 9 Jun 2026
- MediumCVE-2025-41234Spring Framework vulnerable to a reflected file download (RFD) · 13 Jun 2025
- MediumCVE-2024-38820Spring Framework DataBinder Case Sensitive Match Exception · 18 Oct 2024
- MediumCVE-2024-38809Spring Framework DoS via conditional HTTP request · 24 Sept 2024
- HighCVE-2024-22262Spring Framework URL Parsing with Host Validation · 16 Apr 2024
- HighCVE-2024-22259Spring Framework URL Parsing with Host Validation Vulnerability · 16 Mar 2024
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-1000027
- Linkgithub.com/spring-projects/spring-framework/issues/21680
- Linkgithub.com/spring-projects/spring-framework/issues/24434
- Linkgithub.com/spring-projects/spring-framework/issues/24434#issuecomment-1231625331
- Linkgithub.com/spring-projects/spring-framework/issues/24434#issuecomment-579669626
- Linkgithub.com/spring-projects/spring-framework/issues/24434#issuecomment-582313417
- Linkgithub.com/spring-projects/spring-framework/issues/24434#issuecomment-744519525
- Linkgithub.com/spring-projects/spring-framework/commit/2b051b8b321768a4cfef83077db65c6328ffd60f
- Linkgithub.com/spring-projects/spring-framework/commit/5cbe90b2cd91b866a5a9586e460f311860e11cfa
- Linkwww.tenable.com/security/research/tra-2016-20
- Linksupport.contrastsecurity.com/hc/en-us/articles/4402400830612-Spring-web-Java-Deserialization-CVE-2016-1000027
- Linkspring.io/blog/2022/05/11/spring-framework-5-3-20-and-5-2-22-available-now
- Linksecurity.netapp.com/advisory/ntap-20230420-0009
- Linksecurity-tracker.debian.org/tracker/CVE-2016-1000027
- Linkjira.spring.io/browse/SPR-17143?redirect=false
- Packagegithub.com/spring-projects/spring-framework
- Linkbugzilla.redhat.com/show_bug.cgi?id=CVE-2016-1000027
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.