# CVE-2021-22118: Improper Privilege Management in Spring Framework

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2021-05-27T14:48:16.000Z
- Modified: 2026-06-17T03:36:38.867Z
- Also known as: GHSA-gfwj-fwqj-fp3v
- Weaknesses: CWE-269, CWE-668
- Assigned by: vmware

## Description

In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.

(As written by CVE List.)

## Affected

- Spring Framework: Spring Framework versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7
- org.springframework:spring-web (Maven): from 5.2.0 before 5.2.15; from 5.3.0 before 5.3.7
- vmware spring_framework: from 5.2.0 before 5.2.15; from 5.3.0 before 5.3.7
- oracle commerce_guided_search: 11.3.2
- oracle communications_brm_-_elastic_charging_engine: 12.0.0.3
- oracle communications_cloud_native_core_binding_support_function: 1.9.0
- oracle communications_cloud_native_core_policy: 1.14.0
- oracle communications_cloud_native_core_security_edge_protection_proxy: 1.6.0
- oracle communications_cloud_native_core_service_communication_proxy: 1.14.0
- oracle communications_cloud_native_core_unified_data_repository: 1.14.0
- oracle communications_diameter_intelligence_hub: from 8.0.0 up to 8.1.0; from 8.2.0 up to 8.2.3
- oracle communications_element_manager: from 8.2.0 up to 8.2.4.0
- oracle communications_interactive_session_recorder: 6.4
- oracle communications_network_integrity: 7.3.6
- oracle communications_session_report_manager: from 8.0.0 up to 8.2.4.0
- oracle communications_session_route_manager: from 8.0.0 up to 8.2.4.0
- oracle communications_unified_inventory_management: 7.4.1; 7.4.2; 7.5.0
- oracle documaker: from 12.6.0 up to 12.6.4
- oracle enterprise_data_quality: 12.2.1.3.0; 12.2.1.4.0
- oracle financial_services_analytical_applications_infrastructure: from 8.0.8 up to 8.1.1
- oracle healthcare_data_repository: 8.1.0
- oracle insurance_policy_administration: from 11.0 up to 11.3.1
- oracle insurance_rules_palette: 11.0.2; 11.1.0; 11.2.7; 11.3.0; 11.3.1
- oracle mysql_enterprise_monitor: up to 8.0.25
- oracle retail_assortment_planning: 16.0
- oracle retail_customer_management_and_segmentation_foundation: from 16.0 up to 19.0
- oracle retail_financial_integration: 14.1.3.2; 15.0.3.1; 16.0.3
- oracle retail_integration_bus: 14.1.3.2; 15.0.3.1; 16.0.3
- oracle retail_merchandising_system: 19.0.1
- oracle retail_order_broker: 16.0
- oracle retail_predictive_application_server: 14.1.3; 15.0.3; 16.0.3
- oracle utilities_testing_accelerator: 6.0.0.1.1; 6.0.0.2.2; 6.0.0.3.1
- netapp hci: no versions given
- netapp management_services_for_element_software: no versions given

## Every score

- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://tanzu.vmware.com/security/cve-2021-22118> (third-party-advisory, web)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210713-0005/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22118> (advisory)
- <https://github.com/spring-projects/spring-framework/issues/26931> (web)
- <https://github.com/spring-projects/spring-framework/commit/0d0d75e25322d8161002d861fff3ec04ba8be5ac> (web)
- <https://github.com/spring-projects/spring-framework/commit/cce60c479c22101f24b2b4abebb6d79440b120d1> (web)
- <https://github.com/spring-projects/spring-framework> (package)
- <https://security.netapp.com/advisory/ntap-20210713-0005> (web)
- <https://spring.io/security/cve-2021-22118> (web)

## Sources

- CVE List: [CVE-2021-22118](https://www.cve.org/CVERecord?id=CVE-2021-22118), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-gfwj-fwqj-fp3v](https://github.com/advisories/GHSA-gfwj-fwqj-fp3v), CC-BY-4.0, modified 2024-02-20
- NVD: [CVE-2021-22118](https://nvd.nist.gov/vuln/detail/CVE-2021-22118), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22118 · Whole record: https://cve.day/CVE-2021-22118.json · Rebuilt by cve.day 2026-11-25T22:58:01.572Z
