What’s Vulnerable › Vulnerabilities

CVE-2026-22732: Under Some Conditions Spring Security HTTP Headers Are not Written

Description

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 Servlet applications using lazy (default) writing of HTTP Headers: : 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 products

How to fix

Upgrade to a fixed version: Spring Security 5.7.22, 5.8.24, 6.3.15, 6.4.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-22732 or the next vulnerability affects your stack