Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.hateoas/spring-hateoas
  4. ›
  5. CVE-2026-41007

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

June 9, 2026 (updated July 29, 2026)

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.

References

  • github.com/advisories/GHSA-439x-6767-44cv
  • github.com/spring-projects/spring-hateoas/commit/668fd3282e1c7ffc817499b4b3d85d3aa21c0c2e
  • github.com/spring-projects/spring-hateoas/commit/6b6622c92fd06d028a1d4522addf0e214c079f29
  • github.com/spring-projects/spring-hateoas/commit/b0a408f4b372b5287e23ec00260808958953496c
  • github.com/spring-projects/spring-hateoas/issues/2514
  • github.com/spring-projects/spring-hateoas/issues/2518
  • github.com/spring-projects/spring-hateoas/issues/2519
  • github.com/spring-projects/spring-hateoas/releases/tag/2.5.3
  • github.com/spring-projects/spring-hateoas/releases/tag/3.0.4
  • nvd.nist.gov/vuln/detail/CVE-2026-41007
  • spring.io/security/cve-2026-41007

Code Behaviors & Features

Detect and mitigate CVE-2026-41007 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.5.6, all versions starting from 2.3.0 up to 2.3.4, all versions starting from 2.4.0 up to 2.4.1, all versions starting from 2.5.0 before 2.5.3, all versions starting from 3.0.0 before 3.0.4

Fixed versions

  • 2.5.3
  • 3.0.4

Solution

Upgrade to versions 2.5.3, 3.0.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.springframework.hateoas/spring-hateoas/CVE-2026-41007.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:20 +0000.