VDB

CVE-2022-22978

CVE-2022-22978 PUBLISHED CVSS 9.800000190734863 CRITICAL

Authorization bypass in Spring Security

Reported by vmware · Published May 19, 2022

spring-security-web is fixed in 5.6.4, 5.5.7 and 5.4.11 (Maven Central)

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.security:spring-security-webMaven Central5.6.4, 5.5.7, 5.4.11
spring_securityvmware5.6.4, 5.5.7

Risk scores

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

Affected products

VendorProductVersions
n/aSpring SecuritySpring security versions 5.4.x prior to 5.4.11+,5.5.x prior to 5.5.7+,5.6.x prior to 5.6.4+ and all earlier unsupported versions
n/aSpring Security5.4.x
Mavenorg.springframework.security:spring-security-web5.5.0, 5.6.0, 0

Timeline

  • May 17, 2022 CVE Published
  • May 20, 2022 EPSS Score (30 in total, the first dated here)
  • Jul 15, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (69 in total, the first dated here)
  • Jul 5, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (68 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-22978
vulnetix vdb fixes CVE-2022-22978

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-22978/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›