NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

Privilege escalation in spring securityGHSA-gq28-h5vg-8prx

HIGH

GHSA-gq28-h5vg-8prx is a high-severity (CVSS 8.8) vulnerability in org.springframework.security:spring-security-bom. A fix is available for org.springframework.security:spring-security-bom — see the affected versions and patch details below.

Also known asCVE-2021-22112
Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
None indexed
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
3.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs89th percentile — riskier than 89% of all scored CVEsHighest risk
0.29%1.52%2.75%3.98%1.0%3.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

6 pkgs affected
☕org.springframework.security:spring-security-bom☕org.springframework.security:spring-security-bom☕org.springframework.security:spring-security-bom☕org.springframework.security:spring-security-web☕org.springframework.security:spring-security-web☕org.springframework.security:spring-security-web

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request.A malicious user cannot cause the bug to happen (it must be programmed in). However, if the application's intent is to only allow the user to run with elevated privileges in a small portion of the application, the bug can be leveraged to extend those privileges to the rest of the application.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.springframework.security:spring-security-bom≥ 5.4.0&&< 5.4.45.4.4org.springframework.security:spring-security-bom:5.4.4
☕Mavenorg.springframework.security:spring-security-bom≥ 5.3.0&&< 5.3.85.3.8org.springframework.security:spring-security-bom:5.3.8
☕Mavenorg.springframework.security:spring-security-bomall versions5.2.9org.springframework.security:spring-security-bom:5.2.9
☕Mavenorg.springframework.security:spring-security-web≥ 5.4.0&&< 5.4.45.4.4org.springframework.security:spring-security-web:5.4.4
☕Mavenorg.springframework.security:spring-security-web≥ 5.3.0&&< 5.3.85.3.8org.springframework.security:spring-security-web:5.3.8
☕Mavenorg.springframework.security:spring-security-weball versions5.2.9org.springframework.security:spring-security-web:5.2.9

Affected Products

8 products · 11 configurations
Application
communications element manageroracle
≥ 8.2.0 && ≤ 8.2.4.0
range
Application
communications interactive session recorderoracle
2 versions
6.36.4
Application
communications unified inventory managementoracle
1 version
7.4.1
Application
hospitality cruise shipboard property management systemoracle
1 version
20.1.0
Application
insurance policy administrationoracle
2 versions
11.2.011.3.0
Application
mysql enterprise monitororacle
≤ 8.0.25
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.security:spring-security-bom, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.springframework.security:spring-security-bom to 5.4.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-gq28-h5vg-8prx is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request.A malicious user cannot cause the bug to happen (it must be programmed in). However, if the application's intent is to only allow the user to run with elevated privileges in a small portion of the application, the bug can be leveraged to extend those privileges to the rest of the application.
O3 Security · Impact-Aware SCA

Is GHSA-gq28-h5vg-8prx in your dependencies?

Find it across Maven, including transitive dependencies.

Privilege escalation in spring security (High 8.8)