CRITICAL 9.1

CVE-2026-22732

Spring Security HTTP Headers Are not Written Under Some Conditions

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: 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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-web
<= 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
6.5.9, 7.0.4

Blast radius

1affected artifacts
353affected versions
14,871dependent artifacts (est.)
941,924dependent versions

68% of the dependent artifacts (10,248) still pull an affected version in their latest release.

DepthDependent versions
Direct
83,385
2 hops
465,850
3 hops
262,503
4 hops
88,122
5 hops
28,379
6 hops
13,685

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.