CVE-2023-20860 — Vulnerability in org.springframework:spring — CVE...
Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch
Summary
Advisory Timeline
- First published March 28, 2023 (1294 days ago).
- Last revised September 23, 2025 — 911 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 6.0.7 for org.springframework:spring -->
<!-- Update pom.xml dependency version to 6.0.7 for org.springframework:spring-webmvc -->
<!-- Update pom.xml dependency version to 5.3.26 for org.springframework:spring-webmvc -->
<!-- Update pom.xml dependency version to 5.3.26 for org.springframework:spring -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework:spring | Maven | All versions | 6.0.7 |
| org.springframework:spring-webmvc | Maven | 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+3 more) | 6.0.7 |
| org.springframework:spring-webmvc | Maven | 5.3.0, 5.3.1, 5.3.10, 5.3.11 (+22 more) | 5.3.26 |
| org.springframework:spring | Maven | 5.3.0, 5.3.1, 5.3.10, 5.3.11 (+22 more) | 5.3.26 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-20860ADVISORY
- https://github.com/spring-projects/spring-framework/commit/202fa5cdb3a3d0cfe6967e85fa167d978244f28aWEB
- https://github.com/spring-projects/spring-frameworkPACKAGE
- https://security.netapp.com/advisory/ntap-20230505-0006WEB
- https://spring.io/security/cve-2023-20860WEB
Frequently Asked Questions
- What is CVE-2023-20860?
- Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch 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-2023-20860?
- CVE-2023-20860 affects org.springframework:spring and org.springframework:spring-webmvc. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-20860 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2022-22965CRITICAL
Remote Code Execution in Spring Framework
- CVE-2026-47890CRITICAL
Spring Framework Server Sent Event stream corruption while rendering fragments
- CVE-2026-47884CRITICAL
Spring Framework Improper Path Limitation in XsltView
- CVE-2025-41235HIGH
Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies
- CVE-2026-47835HIGH
Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
- CVE-2026-41712HIGH
Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage
- CVE-2026-41705HIGH
Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs
- CVE-2026-41842HIGH
Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies