org.springframework.security:spring-security-core vulnerabilities

Spring Security

Registry
Maven
Latest
7.1.2
License
Apache License, Version 2.0

31 known advisories

The latest version, 7.1.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-core -DdepVersion=7.1.2 -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

Security advisories for org.springframework.security:spring-security-core

  • LowCVE-2026-22746GHSA-vxf7-qj7q-83fh22 Apr 2026

    Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider

    Affected
    >=5.7.0 <=5.7.22 · >=5.8.0 <=5.8.24 · >=6.3.0 <=6.3.15 · >=6.4.0 <=6.4.15 · >=6.5.0 <6.5.10 · >=7.0.0 <7.0.5
    Fixed in
    6.5.10, 7.0.5
  • MediumCVE-2026-22751GHSA-x2wq-9x2f-fhj721 Apr 2026

    Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured

    Affected
    >=6.5.0 <6.5.10 · >=7.0.3 <7.0.5 · >=6.4.0 <=6.4.13
    Fixed in
    6.5.10, 7.0.5
  • MediumCVE-2025-22234GHSA-vqxh-445g-37fc22 Jan 2026

    Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide

    Affected
    >=6.3.8 <6.3.9 · >=6.4.4 <6.4.5
    Fixed in
    6.3.9, 6.4.5
  • HighCVE-2025-41248GHSA-8v5q-rhf3-jphm16 Sept 2025

    Spring Security annotation detection mechanism has authorization bypass

    Affected
    >=6.4.0 <6.4.10 · >=6.5.0 <6.5.4
    Fixed in
    6.4.10, 6.5.4
  • CriticalCVE-2025-41232GHSA-9pp5-9c7g-4r8321 May 2025

    Spring Security authorization bypass for method security annotations on private methods

    Affected
    >=6.4.0 <6.4.6
    Fixed in
    6.4.6
  • MediumCVE-2025-22223GHSA-hh3m-g4qj-483524 Mar 2025

    Spring Security Vulnerable to Authorization Bypass via Security Annotations

    Affected
    >=6.4.0 <6.4.4
    Fixed in
    6.4.4
  • 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
  • MediumCVE-2024-38810GHSA-hmqf-wpq9-jq8320 Aug 2024

    Spring Security Missing Authorization vulnerability

    Affected
    >=6.3.0 <6.3.2
    Fixed in
    6.3.2
  • 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
  • HighCVE-2024-22234GHSA-w3w6-26f2-p47420 Feb 2024

    Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated

    Affected
    >=6.1.0 <6.1.7 · >=6.2.0 <6.2.2
    Fixed in
    6.1.7, 6.2.2
  • MediumCVE-2023-20862GHSA-x873-6rgc-94jc19 Apr 2023

    Spring Security logout not clearing security context

    Affected
    >=5.7.0 <5.7.8 · >=5.8.0 <5.8.3 · >=6.0.0 <6.0.3
    Fixed in
    5.7.8, 5.8.3, 6.0.3
  • CriticalCVE-2022-31692GHSA-mmmh-wcxm-2wr41 Nov 2022

    Spring Security authorization rules can be bypassed via forward or include dispatcher types

    Affected
    >=5.7.0 <5.7.5 · >=5.6.0 <5.6.9
    Fixed in
    5.6.9, 5.7.5
  • 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
  • MediumCVE-2022-22976GHSA-wx54-3278-m5g420 May 2022

    Integer overflow in BCrypt class in Spring Security

    Affected
    >=5.2.0.RELEASE <5.5.7 · >=5.6.0 <5.6.4
    Fixed in
    5.5.7, 5.6.4
  • MediumCVE-2011-2732GHSA-5xm9-rf63-wj7h17 May 2022

    Improper Control of Generation of Code in Spring Security

    Affected
    <2.0.7 · >=3.0.0 <3.0.6
    Fixed in
    2.0.7, 3.0.6
  • MediumCVE-2012-5055GHSA-3533-rvpc-6x5617 May 2022

    Exposure of Sensitive Information to an Unauthorized Actor in Spring Security

    Affected
    <2.0.8 · >=3.0.0 <3.0.8 · >=3.1.0 <3.1.3
    Fixed in
    2.0.8, 3.0.8, 3.1.3
  • MediumCVE-2011-2731GHSA-4644-hg35-55m917 May 2022

    Concurrent Execution using Shared Resource with Improper Synchronization in Spring Security

    Affected
    <2.0.7 · >=3.0.0 <3.0.6
    Fixed in
    2.0.7, 3.0.6
  • MediumCVE-2011-2894GHSA-f866-m9mv-2xr314 May 2022

    Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data

    Affected
    >=3.0.0 <3.0.6 · >=2.0.0 <2.0.7
    Fixed in
    2.0.7, 3.0.6
  • MediumCVE-2010-3700GHSA-3295-h9qx-r82x14 May 2022

    Authentication Bypass Using an Alternate Path or Channel in SpringSource Spring Security and Acegi Security

    Affected
    >=2.0.0 <2.0.6 · >=3.0.0 <3.0.4
    Fixed in
    2.0.6, 3.0.4
  • HighCVE-2017-4995GHSA-vhrg-v3cv-p24713 May 2022

    Deserialization of Untrusted Data in Spring Security

    Affected
    >=4.2.0.RELEASE <4.2.3.RELEASE · >=5.0.0.M1 <5.0.0.M2
    Fixed in
    4.2.3.RELEASE, 5.0.0.M2
  • HighCVE-2014-0097GHSA-gv9v-c375-hvmg13 May 2022

    Improper Authentication in Spring Security

    Affected
    >=3.2.0 <3.2.2.RELEASE · >=3.1.0 <3.1.5.RELEASE
    Fixed in
    3.1.5.RELEASE, 3.2.2.RELEASE
  • HighCVE-2021-22119GHSA-w9jg-gvgr-354m2 Jul 2021

    Resource Exhaustion in Spring Security

    Affected
    >=5.5.0 <5.5.1 · >=5.4.0 <5.4.7 · >=5.3.0 <5.3.10 · >=5.2.0 <5.2.11
    Fixed in
    5.2.11, 5.3.10, 5.4.7, 5.5.1
  • HighCVE-2016-9879GHSA-v35c-49j6-q8hq15 Sept 2020

    Security Constraint Bypass in Spring Security

    Affected
    <3.2.10.RELEASE · >=4.0.0.RELEASE <4.1.4.RELEASE · >=4.2.0.RELEASE <4.2.1.RELEASE
    Fixed in
    3.2.10.RELEASE, 4.1.4.RELEASE, 4.2.1.RELEASE
  • CriticalCVE-2014-3527GHSA-wmv4-5w76-vp9g15 Sept 2020

    Authorization Bypass in Spring Security

    Affected
    <3.1.7 · >=3.2.0 <3.2.5
    Fixed in
    3.1.7, 3.2.5
  • 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
  • HighCVE-2020-5407GHSA-48rw-j489-928m5 Jun 2020

    Signature wrapping vulnerability in Spring Security

    Affected
    >=5.2.0 <5.2.4 · >=5.3.0 <5.3.2
    Fixed in
    5.2.4, 5.3.2
  • HighCVE-2019-11272GHSA-v33x-prhc-gph527 Jun 2019

    Insufficiently Protected Credentials and Improper Authentication in Spring Security

    Affected
    <4.2.13
    Fixed in
    4.2.13
  • 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
  • HighCVE-2018-15801GHSA-27xw-p8v6-9jjr20 Dec 2018

    Spring Security vulnerable to Authorization Bypass

    Affected
    >=5.1.0 <5.1.2
    Fixed in
    5.1.2
  • HighCVE-2016-5007GHSA-8crv-49fr-2h6j17 Oct 2018

    Spring Security and Spring Framework may not recognize certain paths that should be protected

    Affected
    <4.1.1
    Fixed in
    4.1.1
  • 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

Is your org.springframework.security:spring-security-core version vulnerable?

Which of your client projects still run an old org.springframework.security:spring-security-core?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.