Spring Security HTTP Headers Are not Written Under Some Conditions
Critical severity
GitHub Reviewed
Published
Mar 20, 2026
to the GitHub Advisory Database
•
Updated Mar 20, 2026
Package
Affected versions
<= 5.7.14
>= 5.8.0, <= 5.8.16
>= 6.0.0, <= 6.3.10
>= 6.4.0, <= 6.4.13
>= 6.5.0, < 6.5.9
>= 7.0.0, < 7.0.4
Patched versions
6.5.9
7.0.4
Description
Published by the National Vulnerability Database
Mar 19, 2026
Published to the GitHub Advisory Database
Mar 20, 2026
Reviewed
Mar 20, 2026
Last updated
Mar 20, 2026
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.
References