# CVE-2023-20860: Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

Source: https://junglewise.ai/threats/cve-2023-20860-spring-framework-is-vulnerable-to-security-bypass-via  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-03-28  
License: CC BY 4.0 with a link back

CVE-2023-20860 · Severity: low · CVSS 3.1 · Published 2023-03-28

Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

Technologies: [org.springframework:spring (Maven)](https://junglewise.ai/threats/technologies/org-springframework-spring), [org.springframework:spring-webmvc (Maven)](https://junglewise.ai/threats/technologies/org-springframework-spring-webmvc). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-20860 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-20860 being exploited in the wild.

**How severe is CVE-2023-20860?** Low severity, with a CVSS score of 3.1, published 28 March 2023.

**Which products and versions are affected?** org.springframework:spring (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7; org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7.

**Is there a fix for CVE-2023-20860?** Yes. org.springframework:spring (Maven): upgrade to 6.0.7 or later; org.springframework:spring-webmvc (Maven): upgrade to 6.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-20860?** Check whether you run org.springframework:spring (Maven) or org.springframework:spring-webmvc (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework:spring (Maven): upgrade to 6.0.7 or later

  ```sh
  # set org.springframework:spring to 6.0.7 in your pom.xml or build.gradle
  ```

- org.springframework:spring-webmvc (Maven): upgrade to 6.0.7 or later

  ```sh
  # set org.springframework:spring-webmvc to 6.0.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework:spring (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7
- org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7

## Identifiers

- CVE-2023-20860
- GHSA-7phw-cxx7-q9vq

## Related threats

- [Spring Framework Server Sent Event stream corruption while rendering fragments](https://junglewise.ai/threats/cve-2026-47890-spring-framework-server-sent-event-stream-corruption-while)
- [Spring Framework SSRF and RCE in XsltView](https://junglewise.ai/threats/cve-2026-47884-spring-framework-ssrf-and-rce-in-xsltview)
- [VMware Spring Framework denial of service in static resource resolution](https://junglewise.ai/threats/cve-2026-41842-vmware-spring-framework-dos-in-static-resource-resolution)
- [VMware Spring Framework multipart request smuggling in MVC and WebFlux](https://junglewise.ai/threats/cve-2026-41853-vmware-spring-framework-multipart-request-smuggling-in-mvc-and)
- [VMware Spring Framework XSS in JSP form tags](https://junglewise.ai/threats/cve-2026-41846-vmware-spring-framework-xss-in-jsp-form-tags)
