GHSA-439x-6767-44cv
Spring HATEOAS heap exhaustion through unbounded internal caching
Quick fix
GHSA-439x-6767-44cv — org.springframework.hateoas:spring-hateoas: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.0.4</version> for org.springframework.hateoas:spring-hateoas Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
3.0.0 Fixed in: 3.0.4 # pom.xml: bump <version>3.0.4</version> for org.springframework.hateoas:spring-hateoas 2.5.0 Fixed in: 2.5.3 # pom.xml: bump <version>2.5.3</version> for org.springframework.hateoas:spring-hateoas 2.3.0 No fixed version published yet for org.springframework.hateoas:spring-hateoas (maven). Pin to a known-safe version or switch to an alternative.
0 No fixed version published yet for org.springframework.hateoas:spring-hateoas (maven). Pin to a known-safe version or switch to an alternative.
2.4.0 No fixed version published yet for org.springframework.hateoas:spring-hateoas (maven). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41007 [ADVISORY]
- https://github.com/spring-projects/spring-hateoas/issues/2514 [WEB]
- https://github.com/spring-projects/spring-hateoas/issues/2518 [WEB]
- https://github.com/spring-projects/spring-hateoas/issues/2519 [WEB]
- https://github.com/spring-projects/spring-hateoas/commit/668fd3282e1c7ffc817499b4b3d85d3aa21c0c2e [WEB]
- https://github.com/spring-projects/spring-hateoas/commit/6b6622c92fd06d028a1d4522addf0e214c079f29 [WEB]
- https://github.com/spring-projects/spring-hateoas/commit/b0a408f4b372b5287e23ec00260808958953496c [WEB]
- https://github.com/spring-projects/spring-hateoas [PACKAGE]
- https://github.com/spring-projects/spring-hateoas/releases/tag/2.5.3 [WEB]
- https://github.com/spring-projects/spring-hateoas/releases/tag/3.0.4 [WEB]
- https://spring.io/security/cve-2026-41007 [WEB]