Skip to main content

Spring Framework CVE-2026-41848

| EUVDEUVD-2026-35336 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-06-09 vmware GHSA-659m-px2c-25wj
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify endpoint accepting user-supplied pattern
  2. Delivery
    Craft ReDoS pattern with catastrophic backtracking
  3. Exploit
    Submit pattern via HTTP request
  4. Install
    AntPathMatcher compiles to regex
  5. C2
    CPU pegged on matching thread
  6. Execute
    Repeat concurrently to exhaust thread pool
  7. Impact
    Application unavailable

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The application must expose attacker-controllable input - directly or indirectly - to the pattern parameter of AntPathMatcher.match(), matchStart(), or extractUriTemplateVariables(); the path parameter being attacker-controlled is not sufficient. This is a non-default deployment pattern: typical Spring MVC/WebFlux applications hardcode patterns in @RequestMapping annotations or security config and are NOT exploitable. Limiting factors include the need for the application to accept pattern strings from HTTP input (admin consoles, tenant configuration APIs, dynamic ACL builders), the absence of input length validation, and the absence of per-request execution timeouts in the servlet container.

Impact

Signals diverge: CVSS 3.1 base score is 7.5 (High) reflecting network-reachable, no-auth, no-UI availability impact (AV:N/AC:L/PR:N/UI:N/A:H), but EPSS is 0.01% (2nd percentile) and SSVC scores Exploitation:none, Automatable:no, Technical Impact:partial - all consistent with a low-priority finding. The key caveat is that exploitation requires an application to expose the pattern parameter to attacker control, which is non-default usage; most Spring applications hardcode AntPathMatcher patterns at the developer level, so reachability is application-specific rather than universal. Treat this as a hygiene patch on the normal Spring upgrade cadence rather than an emergency; prioritize only for apps that demonstrably accept user-supplied patterns (e.g. dynamic authorization frameworks, multi-tenant routing engines).

Exploit ScenarioDerived

In an application that lets tenants register custom Ant-style path rules (for routing, authorization, or webhook filtering), an attacker submits a crafted pattern such as one containing nested alternation and repetition that triggers catastrophic backtracking when matched against a long crafted path. Each request consumes a servlet thread for seconds-to-minutes of CPU, and a handful of concurrent requests starve the thread pool, taking the application offline. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 11, 2026

Denial of service in Spring Framework's AntPathMatcher allows remote unauthenticated attackers to exhaust CPU resources via Regular Expression Denial of Service (ReDoS) when attacker-controlled patterns are passed to match(), matchStart(), or extractUriTemplateVariables(). Affects Spring Framework 5.3.0-5.3.48, 6.1.0-6.1.27, 6.2.0-6.2.18, and 7.0.0-7.0.7. No public exploit identified at time of analysis, EPSS is very low (0.01%, 2nd percentile), and SSVC indicates no observed exploitation.

Earlier versions of this analysis (2)
v2 Jun 11, 2026 - 15:57 cvss changed CVSS 7.5

Denial of service in Spring Framework's AntPathMatcher allows remote unauthenticated attackers to exhaust CPU resources via crafted patterns processed by match(), matchStart(), or extractUriTemplateVariables(). The flaw affects Spring Framework 5.3.x, 6.1.x, 6.2.x, and 7.0.x through specific versions, and no public exploit identified at time of analysis. EPSS exploitation probability is very low at 0.01% (2nd percentile), and SSVC rates exploitation as 'none' with only partial technical impact.

v1 Jun 09, 2026 - 05:23 CVSS 3.7

ReDoS (Regular Expression Denial of Service) in Spring Framework's AntPathMatcher exposes applications to partial availability loss when an attacker can supply a crafted pattern string consumed by match(), matchStart(), or extractUriTemplateVariables(). Affected branches span all major actively maintained lines - 5.3.x through 7.0.x - covering a wide installed base across Java enterprise deployments. No public exploit identified at time of analysis and no CISA KEV listing; the CVSS score of 3.7 reflects the high attack complexity, limited availability impact (A:L), and the prerequisite that attacker-controlled input reaches the vulnerable AntPathMatcher methods.

RemediationAI

Vendor-released patch: upgrade Spring Framework to 5.3.49, 6.1.28, 6.2.19, or 7.0.8 depending on the branch in use, per https://spring.io/security/cve-2026-41848. If immediate upgrade is not possible, audit application code for any call path where untrusted input reaches the pattern argument of AntPathMatcher.match(), matchStart(), or extractUriTemplateVariables() and either remove the data flow, validate the input against a strict allow-list of Ant-style metacharacters, or impose a length cap (e.g. 256 characters) before passing it to the matcher; trade-off is that strict input validation may reject legitimate complex patterns in admin UIs. As a runtime control, deploying request timeouts at the servlet container or reverse-proxy layer limits CPU consumption per request but does not prevent thread starvation under concurrent abuse.

Affected VersionsENISA

Spring Framework 5.3.0 <5.3.49
Spring Framework 6.2.0 <6.2.19
Spring Framework 7.0.0 <7.0.8
Spring Framework 6.1.0 <6.1.28

Affected Packages

maven org.springframework:spring-core fix: 6.2.19, 7.0.8
euvd spring_framework fix: 5.3.49, 6.1.28, 6.2.19, 7.0.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AntPathMatcher is Spring's path-pattern matcher used throughout Spring MVC, WebFlux, and Spring Security for URL routing, security filter chains, and resource resolution. It supports Ant-style wildcards (?, *, **) and URI template variables ({var}), which are internally compiled into Java regular expressions. CWE-1333 (Inefficient Regular Expression Complexity) describes catastrophic backtracking, where certain crafted patterns combined with specific input strings cause exponential matching time. The vulnerability surfaces when application code allows untrusted input to flow into the 'pattern' argument of AntPathMatcher.match(), matchStart(), or extractUriTemplateVariables() - an unusual data flow because patterns are typically developer-defined, but possible in frameworks that build dynamic ACLs, multi-tenant routing rules, or pattern-driven resource lookups from user input. The affected CPE is cpe:2.3:a:spring:spring_framework across all listed branches.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network-reachable and no auth, but AC:H because exploitation requires the uncommon condition of attacker-controlled pattern input reaching AntPathMatcher; impact is availability-only.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jun 11, 2026 - 15:58 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 11, 2026 - 15:57 vuln.today
v2 - CVSS changed
Severity Changed
Jun 11, 2026 - 15:52 NVD
LOW HIGH
CVSS changed
Jun 11, 2026 - 15:52 NVD
3.7 (LOW) 7.5 (HIGH)
Patch available
Jun 09, 2026 - 06:01 EUVD

DescriptionNVD

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 424 maven packages depend on org.springframework:spring-core (57 direct, 367 indirect)

Ecosystem-wide dependent count for version 7.0.0.

Executive ViewAI

Why It Matters

Spring Framework's AntPathMatcher is vulnerable to remote Denial of Service through Regular Expression Denial of Service (ReDoS), affecting versions 5.3.0-5.3.48, 6.1.0-6.1.27, 6.2.0-6.2.18, and 7.0.0-7.0.7. Unauthenticated attackers can exhaust CPU resources by sending malicious path patterns to vulnerable methods, potentially disrupting services across organizations using these Spring versions. Although rated CVSS 7.5 (HIGH), exploitation likelihood is minimal with no public exploit code and no observed active attacks as of the analysis date.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy