Is org.springframework.security:spring-security-core 5.0 vulnerable?

Maven · 20 releases from 5.0.0 to 5.0.19 · latest org.springframework.security:spring-security-core is 7.1.2 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. org.springframework.security:spring-security-core 5.0.19, the last 5.0 release, is affected by 3 known security advisories (1 critical, 1 high, 1 medium), including CVE-2022-22978, CVE-2024-22257, CVE-2024-38827. 3 more affect earlier 5.0.x releases. Upgrade to 5.7.14 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-core -DdepVersion=5.7.14 -DforceVersion=true

Is your project on an affected org.springframework.security:spring-security-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting org.springframework.security:spring-security-core 5.0.19

  • MediumCVE-2024-38827GHSA-q3v6-hm2v-pw992 Dec 2024

    Spring Framework has Authorization Bypass for Case Sensitive Comparisons

    Affected
    <5.7.14 · >=5.8.0 <5.8.16 · >=6.0.0 <6.0.14 · >=6.1.0 <6.1.12 · >=6.2.0 <6.2.8 · >=6.3.0 <6.3.5
    Fixed in
    5.7.14, 5.8.16, 6.0.14, 6.1.12, 6.2.8, 6.3.5
  • HighCVE-2024-22257GHSA-f3jh-qvm4-mg3918 Mar 2024

    Erroneous authentication pass in Spring Security

    Affected
    <5.7.12 · >=5.8.0 <5.8.11 · >=6.0.0 <6.1.8 · >=6.2.0 <6.2.3
    Fixed in
    5.7.12, 5.8.11, 6.1.8, 6.2.3
  • CriticalCVE-2022-22978GHSA-hh32-7344-cg2f20 May 2022

    Authorization bypass in Spring Security

    Affected
    >=5.5.0 <5.5.7 · >=5.6.0 <5.6.4 · <5.4.11
    Fixed in
    5.4.11, 5.5.7, 5.6.4

Fixed within 5.0.x, affecting earlier releases

  • MediumCVE-2020-5408GHSA-2ppp-9496-p23q15 Jun 2020

    Insufficient Entropy in Spring Security

    Affected
    >=5.3.0 <5.3.2 · >=5.2.0 <5.2.4 · >=5.1.0 <5.1.10 · >=5.0.0 <5.0.16 · <4.2.16
    Fixed in
    4.2.16, 5.0.16, 5.1.10, 5.2.4, 5.3.2
  • MediumCVE-2019-3795GHSA-v2r2-7qm7-jj6v16 Apr 2019

    Spring Security uses insufficiently random values

    Affected
    >=4.2.0 <4.2.12 · >=5.0.0 <5.0.12 · >=5.1.0 <5.1.5
    Fixed in
    4.2.12, 5.0.12, 5.1.5
  • MediumCVE-2018-1199GHSA-v596-fwhq-8x4817 Oct 2018

    Improper Input Validation in org.springframework.security:spring-security-core, org.springframework.security:spring-security-core , and org.springframework:spring-core

    Affected
    >=4.2.0 <4.2.4 · >=5.0.0 <5.0.1 · >=4.1.0 <4.1.5
    Fixed in
    4.1.5, 4.2.4, 5.0.1

Every org.springframework.security:spring-security-core 5.0.x release

Affected: 5.0.0 to 5.0.19. Latest org.springframework.security:spring-security-core: 7.1.2.

VersionKnown advisories
org.springframework.security:spring-security-core 5.0.19CVE-2024-38827, CVE-2024-22257, CVE-2022-22978
org.springframework.security:spring-security-core 5.0.18CVE-2024-38827, CVE-2024-22257, CVE-2022-22978
org.springframework.security:spring-security-core 5.0.17CVE-2024-38827, CVE-2024-22257, CVE-2022-22978
org.springframework.security:spring-security-core 5.0.16CVE-2024-38827, CVE-2024-22257, CVE-2022-22978
org.springframework.security:spring-security-core 5.0.15CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408
org.springframework.security:spring-security-core 5.0.14CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408
org.springframework.security:spring-security-core 5.0.13CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408
org.springframework.security:spring-security-core 5.0.12CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408
org.springframework.security:spring-security-core 5.0.11CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.10CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.9CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.8CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.7CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.6CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.5CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.4CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.3CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.2CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.1CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795
org.springframework.security:spring-security-core 5.0.0CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2020-5408, CVE-2019-3795, CVE-2018-1199

Which of your client projects are still on org.springframework.security:spring-security-core 5.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.springframework.security:spring-security-core version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other org.springframework.security:spring-security-core versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.