CriticalGHSA-mf92-479x-3373CVE-2026-22732

Spring Security HTTP Headers Are not Written Under Some Conditions

Published 20 Mar 2026 · Updated 10 Sept 2026

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

Affected packages

Affected
<=5.7.14
Fixed in
No fix released
Affected
>=5.8.0 <=5.8.16
Fixed in
No fix released
Affected
>=6.0.0 <=6.3.10
Fixed in
No fix released
Affected
>=6.4.0 <=6.4.13
Fixed in
No fix released
Affected
>=6.5.0 <6.5.9
Fixed in
6.5.9
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-web -DdepVersion=6.5.9 -DforceVersion=true
Affected
>=7.0.0 <7.0.4
Fixed in
7.0.4
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-web -DdepVersion=7.0.4 -DforceVersion=true

Details

When applications specify HTTP response headers for servlet applications using Spring Security, there is the possibility that the HTTP Headers will not be written.  This issue affects Spring Security: from 5.7.0 through 5.7.21, from 5.8.0 through 5.8.23, from 6.3.0 through 6.3.14, from 6.4.0 through 6.4.14, from 6.5.0 through 6.5.8, from 7.0.0 through 7.0.3.

Is GHSA-mf92-479x-3373 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework.security:spring-security-web, and gives you the command that fixes it.

More advisories for org.springframework.security:spring-security-web

  • MediumCVE-2026-47838Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates · 10 Jun 2026
  • MediumCVE-2026-41706Spring Security: Open Redirect via Unvalidated Post-Login Redirect URL Stored in CookieRequestCache · 10 Jun 2026
  • MediumCVE-2026-22747Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates · 22 Apr 2026
  • CriticalCVE-2024-38821Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications · 28 Oct 2024
  • CriticalCVE-2022-22978Authorization bypass in Spring Security · 20 May 2022
  • HighCVE-2021-22112Privilege escalation in spring security · 10 May 2021
org.springframework.security:spring-security-web security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.