CVE-2026-22732

CRITICAL

Under Some Conditions Spring Security HTTP Headers Are not Written

Title source: cna

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.

Exploits (1)

nomisec WORKING POC
by semgrep · poc
https://github.com/semgrep/cve-2026-22732-demo

Scores

CVSS v3 9.1
EPSS 0.0002
EPSS Percentile 5.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Details

CWE
CWE-425
Status published
Products (14)
org.springframework.security/spring-security-web 0Maven
Spring/Spring Security 5.7.0 - 5.7.21
Spring/Spring Security 5.8.0 - 5.8.23
Spring/Spring Security 6.3.0 - 6.3.14
Spring/Spring Security 6.4.0 - 6.4.14
Spring/Spring Security 6.5.0 - 6.5.8
Spring/Spring Security 7.0.0 - 7.0.3
VMware/Spring Security 5.7.0 - 5.7.21
VMware/Spring Security 5.8.0 - 5.8.23
VMware/Spring Security 6.3.0 - 6.3.14
... and 4 more
Published Mar 19, 2026
Tracked Since Mar 20, 2026