Skip to main content

CVE-2026-22732 — Vulnerability in spring-security-web — CVE Details

CRITICAL

Spring Security HTTP Headers Are not Written Under Some Conditions

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

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.

Check my pom.xml

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.

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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Maven (1).

PackageFixed 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.37.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.

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. 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

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.49%
EPSS percentile: 34.5

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

GHSA-mf92-479x-3373

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml