What’s Vulnerable › Vulnerabilities

CVE-2026-41007: Spring HATEOAS heap exhaustion through unbounded internal caching

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

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