Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Spring HATEOAS endpoint reflecting client input into rels
-
DeliveryScript high-volume requests with unique rel values
-
ExploitEach request adds permanent StringLinkRelation cache entry
-
ExecutionJVM heap fills, GC pressure rises
-
PersistOutOfMemoryError crashes service
-
ImpactAvailability denied to all users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application instantiate StringLinkRelation (typically via LinkRelation.of() or HATEOAS representation assemblers) using a value derived from attacker-controlled HTTP input such as a path variable, query parameter, header, or request body field - applications that only use compile-time-constant rels (IanaLinkRelations or static strings) are not exploitable. The endpoint must be network-reachable to the attacker, but no authentication and no user interaction are required (CVSS PR:N/UI:N), and any standard Spring HATEOAS deployment on the listed versions running with a bounded heap is vulnerable. Limiting factors: the cache is per-JVM so multi-instance clusters require sustained traffic to every node, and applications behind aggressive rate limiting or that normalize/validate rel inputs are effectively shielded. |
| Impact | Signals are consistent and point to a real but bounded risk. The CVSS vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H accurately reflects a network-reachable, low-complexity, unauthenticated availability-only flaw - no confidentiality or integrity impact, which is why the score caps at 7.5 rather than 9.x. EPSS data was not provided in the input and the CVE is not in CISA KEV, so there is no evidence of active exploitation; the disclosure is recent and reported directly by the vendor (VMware/Spring) rather than via incident response. Exploitation is only realistic when application code actually creates LinkRelation instances from attacker-controlled input - a common but not universal pattern in HATEOAS-driven APIs - so the practical attack surface is narrower than 'any Spring app.' Treat as a prioritized patch for internet-facing Spring REST services that echo client-provided rel values, lower priority for internal or fixed-rel services. |
| Exploit ScenarioDerived | An attacker scripts a loop that issues HTTP requests to a public Spring REST endpoint, varying a path or query parameter that the application uses to construct a HATEOAS link relation (e.g., a relation-name field or a resource type used in a self/related link). Each unique value adds a permanent StringLinkRelation entry to the static cache; over minutes to hours the JVM heap fills, garbage collection thrashes, and the service crashes with OutOfMemoryError, taking down all tenants of that JVM. No public exploit identified at time of analysis, but the technique requires only curl and is trivially automatable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Memory exhaustion in Spring HATEOAS versions 1.5.0-1.5.6, 2.3.0-2.3.4, 2.4.0-2.4.1, 2.5.0-2.5.2, and 3.0.0-3.0.3 allows remote unauthenticated attackers to cause denial of service by sending requests with attacker-controlled link relation strings that accumulate indefinitely in an unbounded static cache of StringLinkRelation instances. With a CVSS 7.5 (high availability impact) and no public exploit identified at time of analysis, the issue is straightforward to trigger against any internet-facing Spring HATEOAS endpoint that derives link relations from request data. Not listed in CISA KEV.
RemediationAI
Upgrade Spring HATEOAS to a fixed release on each maintained branch per the vendor advisory at https://spring.io/security/cve-2026-41007 - specifically a version newer than 1.5.6 (1.5.x line), 2.3.4 (2.3.x), 2.4.1 (2.4.x), 2.5.2 (2.5.x), or 3.0.3 (3.0.x); exact fix versions should be confirmed from that advisory before deployment. If immediate upgrade is not possible, the practical compensating control is to stop deriving LinkRelation values from untrusted input: refactor controllers/representation assemblers so rel strings come exclusively from server-side constants or enums, validate inbound rel parameters against an allowlist before passing them to LinkRelation.of() or StringLinkRelation, and aggressively rate-limit or WAF-filter endpoints that accept client-supplied relation names - note this requires code review and may break legitimate clients that send custom rels. Operationally, set conservative JVM -Xmx limits with automated restart on OutOfMemoryError to bound damage until patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring HATEOAS is a VMware/Pivotal Java library that helps Spring-based REST APIs construct hypermedia-driven responses (HAL, HAL-FORMS, Collection+JSON, etc.) by adding typed links to resources. The library models a link's relation type (rel) via the StringLinkRelation class, and to avoid allocating duplicate instances it keeps a process-wide static cache keyed by the rel string. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the cache has no size cap, no LRU eviction, and no validation of the key, so every distinct attacker-supplied rel value produces a new permanent entry in the JVM heap. Because the cache is static, entries are pinned for the lifetime of the process and are unreachable for garbage collection, eventually exhausting heap and triggering OutOfMemoryError. Affected CPE is cpe:2.3:a:spring:spring_hateoas:*:*:*:*:*:*:*:*.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
1DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
Spring HATEOAS, a Java REST API framework used by many organizations, is vulnerable to remote denial-of-service attacks that do not require authentication. This vulnerability can exhaust application memory, causing service outages that impact customers and business operations. Organizations using Spring HATEOAS versions 1.5.0-1.5.6, 2.3.0-2.3.4, 2.4.0-2.4.1, 2.5.0-2.5.2, and 3.0.0-3.0.3 should prioritize immediate assessment and mitigation.
Since no vendor-released patch is available, implement rate limiting and request filtering on internet-facing endpoints to restrict request volume; validate and sanitize all user-supplied link relation input before processing; monitor application memory usage and CPU consumption for anomalous spikes; consider network segmentation to restrict direct internet access to vulnerable endpoints until upgrades can be completed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in Spring HATEOAS Deserialization and Cache Exhaustion
View all 2Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-35346
GHSA-439x-6767-44cv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB