# CVE-2023-20862

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-04-19 · Modified: 2025-02-05
- Aliases: GHSA-x873-6rgc-94jc
- Record: https://cvemate.com/vulnerability/CVE-2023-20862 · JSON: https://cvemate.com/vulnerability/CVE-2023-20862/json

## Description

```text
In Spring Security, versions 5.7.x prior to 5.7.8, versions 5.8.x prior to 5.8.3, and versions 6.0.x prior to 6.0.3, the logout support does not properly clean the security context if using serialized versions. Additionally, it is not possible to explicitly save an empty security context to the HttpSessionSecurityContextRepository. This vulnerability can keep users authenticated even after they performed logout. Users of affected versions should apply the following mitigation. 5.7.x users should upgrade to 5.7.8. 5.8.x users should upgrade to 5.8.3. 6.0.x users should upgrade to 6.0.3.
```

## Signals

- CVSS: 6.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.648%, percentile 52.462%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.security spring-security-core (Maven): ≥ 5.7.0, \< 5.7.8 \| ≥ 5.8.0, \< 5.8.3 \| ≥ 6.0.0, \< 6.0.3
- netapp active\_iq\_unified\_manager: na
- vmware spring\_security: ≥ 5.7.0, \< 5.7.8 \| ≥ 5.8.0, \< 5.8.3 \| ≥ 6.0.0, \< 6.0.3

## References

- <https://spring.io/security/cve-2023-20862>
- <https://security.netapp.com/advisory/ntap-20230526-0002/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-20862>
- <https://github.com/spring-projects/spring-security>
- <https://security.netapp.com/advisory/ntap-20230526-0002>

---

Data as of 2026-12-05T07:50:54.190Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
