Spring HATEOAS heap exhaustion through unbounded internal caching
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (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.4, 2.5.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41007
- https://github.com/spring-projects/spring-hateoas/issues/2514
- https://github.com/spring-projects/spring-hateoas/issues/2518
- https://github.com/spring-projects/spring-hateoas/issues/2519
- https://github.com/spring-projects/spring-hateoas/commit/668fd3282e1c7ffc817499b4b3d85d3aa21c0c2e
- https://github.com/spring-projects/spring-hateoas/commit/6b6622c92fd06d028a1d4522addf0e214c079f29
- https://github.com/spring-projects/spring-hateoas/commit/b0a408f4b372b5287e23ec00260808958953496c
- https://github.com/spring-projects/spring-hateoas
- https://github.com/spring-projects/spring-hateoas/releases/tag/2.5.3
- https://github.com/spring-projects/spring-hateoas/releases/tag/3.0.4
- https://spring.io/security/cve-2026-41007
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-770- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.hateoas:spring-hateoas- Disclosed
- 09.06.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-439x-6767-44cv - CC BY 4.0
Vulnerability history: org.springframework.hateoas:spring-hateoas
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 07.2023 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 1
Disclosures per year
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 2
-
Spring HATEOAS heap exhaustion through unbounded internal caching this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.