What’s Vulnerable › Vulnerabilities
CVE-2026-41007: Spring HATEOAS heap exhaustion through unbounded internal caching
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-09 · updated 2026-07-23
- Weakness: CWE-770
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.
Affected products
- Spring HATEOAS: from 1.5.0 before 1.5.7; from 2.3.0 before 2.3.5; from 2.4.0 before 2.4.2; from 2.5.0 before 2.5.2.1; from 3.0.0 before 3.0.3.1 — fixed in 1.5.7, 2.3.5, 2.4.2, 2.5.2.1, 3.0.3.1
- Spring HATEOAS: from 1.5.0 before 1.5.7; from 2.3.0 before 2.3.5; from 2.4.0 before 2.4.2; from 2.5.0 before 2.5.2.1; from 3.0.0 before 3.0.3.1 — fixed in 1.5.7, 2.3.5, 2.4.2, 2.5.2.1, 3.0.3.1
How to fix
Upgrade to a fixed version: Spring HATEOAS 1.5.7, 2.3.5, 2.4.2, 2.5.2.1; Spring HATEOAS 1.5.7, 2.3.5, 2.4.2, 2.5.2.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-41007 or the next vulnerability affects your stack