{"id":"GHSA-439x-6767-44cv","summary":"Spring HATEOAS heap exhaustion through unbounded internal caching","details":"Spring HATEOAS maintains an unbounded static cache of StringLinkRelation instances keyed on attacker-supplied strings.\n\nAffected versions:\nSpring 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.","aliases":["CVE-2026-41007"],"modified":"2026-07-29T18:26:45.253064Z","published":"2026-06-09T06:31:57Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-07-29T18:06:02Z","nvd_published_at":"2026-06-09T05:16:35Z","cwe_ids":["CWE-770"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41007"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/issues/2514"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/issues/2518"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/issues/2519"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/commit/668fd3282e1c7ffc817499b4b3d85d3aa21c0c2e"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/commit/6b6622c92fd06d028a1d4522addf0e214c079f29"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/commit/b0a408f4b372b5287e23ec00260808958953496c"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-hateoas"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/releases/tag/2.5.3"},{"type":"WEB","url":"https://github.com/spring-projects/spring-hateoas/releases/tag/3.0.4"},{"type":"WEB","url":"https://spring.io/security/cve-2026-41007"}],"affected":[{"package":{"name":"org.springframework.hateoas:spring-hateoas","ecosystem":"Maven","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.4"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.0.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-439x-6767-44cv/GHSA-439x-6767-44cv.json"}},{"package":{"name":"org.springframework.hateoas:spring-hateoas","ecosystem":"Maven","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.3"}]}],"versions":["2.5.0","2.5.1","2.5.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-439x-6767-44cv/GHSA-439x-6767-44cv.json","last_known_affected_version_range":"\u003c= 2.5.2"}},{"package":{"name":"org.springframework.hateoas:spring-hateoas","ecosystem":"Maven","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"last_affected":"2.3.4"}]}],"versions":["2.3.0","2.3.1","2.3.2","2.3.3","2.3.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-439x-6767-44cv/GHSA-439x-6767-44cv.json"}},{"package":{"name":"org.springframework.hateoas:spring-hateoas","ecosystem":"Maven","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.5.6"}]}],"versions":["0.0.0.1.1.4.TEST-RELEASE","0.0.0.1.2.3-SNAPSHOT.1","0.0.0.1.3.0-HATEOAS-1417-SNAPSHOT.1","0.1.0.RELEASE","0.10.0.RELEASE","0.11.0.RELEASE","0.12.0.RELEASE","0.13.0.RELEASE","0.14.0.RELEASE","0.15.0.RELEASE","0.16.0.RELEASE","0.17.0.RELEASE","0.18.0.RELEASE","0.19.0.RELEASE","0.2.0.RELEASE","0.20.0.RELEASE","0.21.0.RELEASE","0.22.0.RELEASE","0.23.0.RELEASE","0.24.0.RELEASE","0.25.0.RELEASE","0.25.1.RELEASE","0.25.2.RELEASE","0.3.0.RELEASE","0.4.0.RELEASE","0.5.0.RELEASE","0.6.0.RELEASE","0.7.0.RELEASE","0.8.0.RELEASE","0.9.0.RELEASE","1.0.0.RELEASE","1.0.1.RELEASE","1.0.2.RELEASE","1.0.3.RELEASE","1.0.4.RELEASE","1.0.5.RELEASE","1.1.0.RELEASE","1.1.1.RELEASE","1.1.2.RELEASE","1.1.3.RELEASE","1.1.4.RELEASE","1.1.5.RELEASE","1.2.0","1.2.1","1.2.10","1.2.11","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-439x-6767-44cv/GHSA-439x-6767-44cv.json"}},{"package":{"name":"org.springframework.hateoas:spring-hateoas","ecosystem":"Maven","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"last_affected":"2.4.1"}]}],"versions":["2.4.0","2.4.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-439x-6767-44cv/GHSA-439x-6767-44cv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}