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

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

No known advisories in the last release

org.springframework.security:spring-security-bom 5.4.11, the last 5.4 release, has no known advisories. 1 advisory affects earlier 5.4.x releases, so update to 5.4.11.

Update within 5.4:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-bom -DdepVersion=5.4.11 -DforceVersion=true

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

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

Fixed within 5.4.x, affecting earlier releases

  • 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-bom 5.4.x release

Affected: 5.4.0 to 5.4.3. 5.4.4 and later are not affected. Latest org.springframework.security:spring-security-bom: 7.1.2.

VersionKnown advisories
org.springframework.security:spring-security-bom 5.4.11None
org.springframework.security:spring-security-bom 5.4.10None
org.springframework.security:spring-security-bom 5.4.9None
org.springframework.security:spring-security-bom 5.4.8None
org.springframework.security:spring-security-bom 5.4.7None
org.springframework.security:spring-security-bom 5.4.6None
org.springframework.security:spring-security-bom 5.4.5None
org.springframework.security:spring-security-bom 5.4.4None
org.springframework.security:spring-security-bom 5.4.3CVE-2021-22112
org.springframework.security:spring-security-bom 5.4.2CVE-2021-22112
org.springframework.security:spring-security-bom 5.4.1CVE-2021-22112
org.springframework.security:spring-security-bom 5.4.0CVE-2021-22112

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

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