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

Maven · 16 releases from 5.2.0 to 5.2.15 · 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.2.15, the last 5.2 release, has no known advisories. 1 advisory affects earlier 5.2.x releases, so update to 5.2.15.

Update within 5.2:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-bom -DdepVersion=5.2.15 -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.2.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.2.x release

Affected: 5.2.0 to 5.2.8. 5.2.9 and later are not affected. Latest org.springframework.security:spring-security-bom: 7.1.2.

VersionKnown advisories
org.springframework.security:spring-security-bom 5.2.15None
org.springframework.security:spring-security-bom 5.2.14None
org.springframework.security:spring-security-bom 5.2.13None
org.springframework.security:spring-security-bom 5.2.12None
org.springframework.security:spring-security-bom 5.2.11None
org.springframework.security:spring-security-bom 5.2.10None
org.springframework.security:spring-security-bom 5.2.9None
org.springframework.security:spring-security-bom 5.2.8CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.7CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.6CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.5CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.4CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.3CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.2CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.1CVE-2021-22112
org.springframework.security:spring-security-bom 5.2.0CVE-2021-22112

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

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.