Skip to main content

Spring HATEOAS CVE-2026-41007

| EUVDEUVD-2026-35346 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-06-09 vmware GHSA-439x-6767-44cv
7.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Spring HATEOAS endpoint reflecting client input into rels
  2. Delivery
    Script high-volume requests with unique rel values
  3. Exploit
    Each request adds permanent StringLinkRelation cache entry
  4. Execution
    JVM heap fills, GC pressure rises
  5. Persist
    OutOfMemoryError crashes service
  6. Impact
    Availability 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring HATEOAS 2.5.0 <2.5.3
Spring HATEOAS 1.5.0 <1.5.7
Spring HATEOAS 2.4.0 <2.4.2
Spring HATEOAS 3.0.0 <3.0.4
Spring HATEOAS 2.3.0 <2.3.5

Affected Packages

maven org.springframework.hateoas:spring-hateoas fix: 2.5.3, 3.0.4
euvd spring_hateoas fix: 1.5.7, 2.3.5, 2.4.2, 2.5.3, 3.0.4

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

Vendor (vmware) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jun 09, 2026 - 06:01 EUVD

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

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

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy