---
id: CVE-2026-41007
title: >-
  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;…
summary: >-
  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;…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
vendor: vmware
product: spring_hateoas
affected:
  - 'spring_hateoas >= 1.5.0, < 1.5.7'
  - 'spring_hateoas >= 2.3.0, < 2.3.5'
  - 'spring_hateoas >= 2.4.0, < 2.4.2'
  - 'spring_hateoas >= 2.5.0, < 2.5.2.1'
  - 'spring_hateoas >= 3.0.0, < 3.0.3.1'
patched:
  - spring_hateoas 3.0.3.1
published: '2026-06-09'
updated: '2026-07-17'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41007'
references:
  - url: 'https://spring.io/security/cve-2026-41007'
    label: security@vmware.com
tags:
  - nvd
epss: 0.00299
epssPercentile: 0.22764
ingestedAt: '2026-07-17T21:16:23.681Z'
---

## Overview

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

- `spring_hateoas >= 1.5.0, < 1.5.7`
- `spring_hateoas >= 2.3.0, < 2.3.5`
- `spring_hateoas >= 2.4.0, < 2.4.2`
- `spring_hateoas >= 2.5.0, < 2.5.2.1`
- `spring_hateoas >= 3.0.0, < 3.0.3.1`

## Remediation

Upgrade past the affected range:

- `spring_hateoas 3.0.3.1`
