Loading...
Skip to main content

CVE-2026-22732 — Vulnerability in...

CRITICAL

Spring Security HTTP Headers Are not Written Under Some Conditions

Published March 20, 2026Updated September 10, 2026Source: osv

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 (206 days ago).
  • Last revised September 10, 2026 — 174 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.security:spring-security-web to 6.5.9 or later
<!-- Update pom.xml dependency version to 6.5.9 for org.springframework.security:spring-security-web -->
Maven
Update org.springframework.security:spring-security-web to 7.0.4 or later
<!-- Update pom.xml dependency version to 7.0.4 for org.springframework.security:spring-security-web -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.security:spring-security-web
maven
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
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
6.5.0, 6.5.1, 6.5.2, 6.5.3 (+5 more)6.5.9
org.springframework.security:spring-security-web
maven
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
7.0.0, 7.0.1, 7.0.2, 7.0.37.0.4
org.springframework.security:spring-security-web
maven
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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-22732 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-mf92-479x-3373

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies