CVE-2026-22732 — Vulnerability in spring-security-web — CVE Details
Spring Security HTTP Headers Are not Written Under Some Conditions
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.49%). Schedule for your next planned update.
Does your project use an affected org.springframework.security:spring-security-web version?
Paste your pom.xml to check it for CVE-2026-22732 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published March 20, 2026 (251 days ago).
- Last revised September 10, 2026 — 174 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 6.5.9 for org.springframework.security:spring-security-web -->
<!-- Update pom.xml dependency version to 7.0.4 for org.springframework.security:spring-security-web -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.springframework.security:spring-security-web Maven · Affected: 3.0.0.RELEASE, 3.0.1.RELEASE, 3.0.2.RELEASE, 3.0.3.RELEASE (+169 more) | Range-based data available |
| org.springframework.security:spring-security-web Maven · Affected: 5.8.0, 5.8.1, 5.8.10, 5.8.11 (+13 more) | Range-based data available |
| org.springframework.security:spring-security-web Maven · Affected: 6.5.0, 6.5.1, 6.5.2, 6.5.3 (+5 more) | 6.5.9 |
| org.springframework.security:spring-security-web Maven · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+35 more) | Range-based data available |
| org.springframework.security:spring-security-web Maven · Affected: 7.0.0, 7.0.1, 7.0.2, 7.0.3 | 7.0.4 |
| org.springframework.security:spring-security-web Maven · Affected: 6.4.0, 6.4.1, 6.4.10, 6.4.11 (+10 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-425
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2026-22732?
- Spring Security HTTP Headers Are not Written Under Some Conditions. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-22732?
- CVE-2026-22732 affects org.springframework.security:spring-security-web. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-22732 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 34.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-34034CRITICAL
Access Control Bypass in Spring Security
- CVE-2025-41232CRITICAL
Spring Security authorization bypass for method security annotations on private methods
- CVE-2024-38821CRITICAL
Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications
- CVE-2022-22978CRITICAL
Authorization bypass in Spring Security
- CVE-2022-31692CRITICAL
Spring Security authorization rules can be bypassed via forward or include dispatcher types
- CVE-2018-1260CRITICAL
Spring Security OAuth vulnerable to remote code execution (RCE)
- CVE-2026-41003HIGH
Spring Security SAML2 Service Provider: RelyingPartyRegistration may run arbitrary code on HTML forms generated by Spring Security filters
- CVE-2026-40988HIGH
Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS)