CVE-2026-41007
spring-hateoas: Spring HATEOAS: Denial of Service via unbounded static cache
Overview
Description
Spring HATEOAS maintains an unbounded static cache of StringLinkRelation instances keyed on attacker-supplied strings.
Affected versions:
Spring HATEOAS 1.5.0 through 1.5.6; 2.3.0 through 2.3.4; 2.4.0 through 2.4.1; 2.5.0 through 2.5.2; 3.0.0 through 3.0.3.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-770
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.springframework.hateoas:spring-hateoas | >=3.0.0, <3.0.4>=2.5.0, <2.5.3>=2.3.0, <=2.3.4<=1.5.6>=2.4.0, <=2.4.1 | 3.0.42.5.3 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-41007
- github.com https://github.com/spring-projects/spring-hateoas
- github.com https://github.com/spring-projects/spring-hateoas/commit/668fd3282e1c7ffc817499b4b3d85d3aa21c0c2e
- github.com https://github.com/spring-projects/spring-hateoas/commit/6b6622c92fd06d028a1d4522addf0e214c079f29
- github.com https://github.com/spring-projects/spring-hateoas/commit/b0a408f4b372b5287e23ec00260808958953496c
- github.com https://github.com/spring-projects/spring-hateoas/issues/2514
- github.com https://github.com/spring-projects/spring-hateoas/issues/2518
- github.com https://github.com/spring-projects/spring-hateoas/issues/2519
- github.com https://github.com/spring-projects/spring-hateoas/releases/tag/2.5.3
- github.com https://github.com/spring-projects/spring-hateoas/releases/tag/3.0.4
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.