Is org.springframework.security:spring-security-web 5.4 vulnerable?

Maven · 12 releases from 5.4.0 to 5.4.11 · latest org.springframework.security:spring-security-web is 7.1.2 · checked 18 Nov 2026

Yes: 4 known advisories

Yes. org.springframework.security:spring-security-web 5.4.11, the last 5.4 release, is affected by 4 known security advisories (2 critical, 2 medium), including CVE-2026-22732, CVE-2024-38821, CVE-2026-47838. 2 more affect earlier 5.4.x releases. Upgrade to 6.5.11 or later to fix all of them.

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

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

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-web 5.4.11

  • MediumCVE-2026-47838GHSA-293q-567p-wmwq10 Jun 2026

    Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates

    Affected
    >=6.5.0 <6.5.11 · >=6.4.0 <=6.4.13 · >=6.0.0 <=6.3.10 · >=5.8.0 <=5.8.16 · <=5.7.14
    Fixed in
    6.5.11
  • MediumCVE-2026-41706GHSA-x2r2-rvhq-2mqv10 Jun 2026

    Spring Security: Open Redirect via Unvalidated Post-Login Redirect URL Stored in CookieRequestCache

    Affected
    >=7.0.0 <7.0.6 · >=6.5.0 <6.5.11 · >=6.3.0 <=6.3.16 · >=5.8.0 <=5.8.25 · <=5.7.23
    Fixed in
    6.5.11, 7.0.6
  • CriticalCVE-2026-22732GHSA-mf92-479x-337320 Mar 2026

    Spring Security HTTP Headers Are not Written Under Some Conditions

    Affected
    <=5.7.14 · >=5.8.0 <=5.8.16 · >=6.0.0 <=6.3.10 · >=6.4.0 <=6.4.13 · >=6.5.0 <6.5.9 · >=7.0.0 <7.0.4
    Fixed in
    6.5.9, 7.0.4
  • CriticalCVE-2024-38821GHSA-c4q5-6c82-3qpw28 Oct 2024

    Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications

    Affected
    >=5.0.0 <5.7.13 · >=5.8.0 <5.8.15 · >=6.2.0 <6.2.7 · >=6.0.0 <6.0.13 · >=6.1.0 <6.1.11 · >=6.3.0 <6.3.4
    Fixed in
    5.7.13, 5.8.15, 6.0.13, 6.1.11, 6.2.7, 6.3.4

Fixed within 5.4.x, affecting earlier releases

  • 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
  • HighCVE-2021-22112GHSA-gq28-h5vg-8prx10 May 2021

    Privilege escalation in spring security

    Affected
    >=5.4.0 <5.4.4 · >=5.3.0 <5.3.8 · <5.2.9
    Fixed in
    5.2.9, 5.3.8, 5.4.4

Every org.springframework.security:spring-security-web 5.4.x release

Affected: 5.4.0 to 5.4.11. Latest org.springframework.security:spring-security-web: 7.1.2.

VersionKnown advisories
org.springframework.security:spring-security-web 5.4.11CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821
org.springframework.security:spring-security-web 5.4.10CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978
org.springframework.security:spring-security-web 5.4.9CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978
org.springframework.security:spring-security-web 5.4.8CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978
org.springframework.security:spring-security-web 5.4.7CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978
org.springframework.security:spring-security-web 5.4.6CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978
org.springframework.security:spring-security-web 5.4.5CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978
org.springframework.security:spring-security-web 5.4.4CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978
org.springframework.security:spring-security-web 5.4.3CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978, CVE-2021-22112
org.springframework.security:spring-security-web 5.4.2CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978, CVE-2021-22112
org.springframework.security:spring-security-web 5.4.1CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978, CVE-2021-22112
org.springframework.security:spring-security-web 5.4.0CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2024-38821, CVE-2022-22978, CVE-2021-22112

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

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.springframework.security:spring-security-web 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-web 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.