Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-web
  4. ›
  5. CVE-2026-22732

CVE-2026-22732: Spring Security HTTP Headers Are not Written Under Some Conditions

March 20, 2026

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.

References

  • github.com/advisories/GHSA-mf92-479x-3373
  • github.com/spring-projects/spring-security
  • nvd.nist.gov/vuln/detail/CVE-2026-22732
  • spring.io/security/cve-2026-22732

Code Behaviors & Features

Detect and mitigate CVE-2026-22732 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.7.14, all versions starting from 5.8.0 up to 5.8.16, all versions starting from 6.0.0 up to 6.3.10, all versions starting from 6.4.0 up to 6.4.13, all versions starting from 6.5.0 before 6.5.9, all versions starting from 7.0.0 before 7.0.4

Fixed versions

  • 6.5.9
  • 7.0.4

Solution

Upgrade to versions 6.5.9, 7.0.4 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-425: Direct Request ('Forced Browsing')

Source file

maven/org.springframework.security/spring-security-web/CVE-2026-22732.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 21 Mar 2026 00:17:21 +0000.