ADVISORIES

GitHub Advisory Database

GHSA-mf92-479x-3373

Spring Security HTTP Headers Are not Written Under Some Conditions

Critical CVE-2026-22732

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-web
All versions up to and including 5.7.14
Mavenorg.springframework.security:spring-security-web
From 5.8.0 up to and including 5.8.16
Mavenorg.springframework.security:spring-security-web
From 6.0.0 up to and including 6.3.10
Mavenorg.springframework.security:spring-security-web
From 6.4.0 up to and including 6.4.13
Mavenorg.springframework.security:spring-security-web
From 6.5.0 before 6.5.9 (fixed in 6.5.9)
Mavenorg.springframework.security:spring-security-web
From 7.0.0 before 7.0.4 (fixed in 7.0.4)

References