CVE-2026-41848 — Vulnerability in spring-core — CVE Details
Spring Framework Denial of Service via AntPathMatcher
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.40%). Schedule for your next planned update.
Does your project use an affected org.springframework:spring-core version?
Paste your pom.xml to check it for CVE-2026-41848 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.
Summary
Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack if an attacker is able to provide a pattern which is then directly or indirectly supplied to one of the following methods in AntPathMatcher: match(String pattern, String path), matchStart(String pattern, String path), extractUriTemplateVariables(String pattern, String path).
Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Advisory Timeline
- First published June 9, 2026 (170 days ago).
- Last revised September 10, 2026 — 93 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 6.2.19 for org.springframework:spring-core -->
<!-- Update pom.xml dependency version to 7.0.8 for org.springframework:spring-core -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.springframework:spring-core Maven · Affected: 6.1.0, 6.1.1, 6.1.10, 6.1.11 (+18 more) | Range-based data available |
| org.springframework:spring-core Maven · Affected: 6.2.0, 6.2.1, 6.2.10, 6.2.11 (+15 more) | 6.2.19 |
| org.springframework:spring-core Maven · Affected: 7.0.0, 7.0.1, 7.0.2, 7.0.3 (+4 more) | 7.0.8 |
| org.springframework:spring-core Maven · Affected: 1.0, 1.0-rc1, 1.0.1, 1.1 (+246 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1333
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 3.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41848ADVISORY
- https://github.com/spring-projects/spring-framework/commit/12b44f2545a1bec6150c7a05e66092c732597a94WEB
- https://github.com/spring-projects/spring-frameworkPACKAGE
- https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19WEB
- https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8WEB
- https://spring.io/security/cve-2026-41848WEB
Frequently Asked Questions
- What is CVE-2026-41848?
- Spring Framework Denial of Service via AntPathMatcher. This vulnerability has been assigned a severity rating of LOW (CVSS score: 3.7/10).
- How do I check if my project is affected by CVE-2026-41848?
- CVE-2026-41848 affects org.springframework:spring-core. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41848 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is difficult, or the impact is minor.
This is a below-median EPSS score — only 26.3% 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
Related CVEs
- CVE-2022-22965CRITICAL
Remote Code Execution in Spring Framework
- CVE-2025-41232CRITICAL
Spring Security authorization bypass for method security annotations on private methods
- CVE-2026-47835HIGH
Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
- CVE-2025-41249HIGH
Spring Framework annotation detection mechanism may result in improper authorization
- CVE-2026-41712HIGH
Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage
- CVE-2026-41842HIGH
Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux
- CVE-2021-22060MEDIUM
Log entry injection in Spring Framework
- CVE-2021-22096MEDIUM
Improper Output Neutralization for Logs in Spring Framework