{"answers":{"affected":"10 open source packages ship an affected version, including org.springframework.hateoas:spring-hateoas. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41007 in the wild and no public exploit code.","fix":"Upgrade org.springframework.hateoas:spring-hateoas to a fixed version for your release line: 2.5.3 or 3.0.4.","what":"CVE-2026-41007 is a high-severity denial of service vulnerability in Spring HATEOAS, published on 9 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41007 and fix it if it is affected.\n\nWhat it is: CVE-2026-41007 is a high-severity denial of service vulnerability in Spring HATEOAS, published on 9 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41007 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.hateoas:spring-hateoas (Maven): affected all versions up to 1.5.6; no fix listed\n- org.springframework.hateoas:spring-hateoas (Maven): affected all versions up to 1.5.6; no fix listed\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.3.0 up to 2.3.4; no fix listed\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.3.0 up to 2.3.4; no fix listed\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.4.0 up to 2.4.1; no fix listed\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.4.0 up to 2.4.1; no fix listed\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.5.0; fixed in 2.5.3\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.5.0; fixed in 2.5.3\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 3.0.0; fixed in 3.0.4\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 3.0.0; fixed in 3.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41007/ (Markdown: https://insights.sbomify.com/CVE-2026-41007/index.md)","id":"CVE-2026-41007","markdown":"https://insights.sbomify.com/CVE-2026-41007/index.md","name":"CVE-2026-41007","record":{"aliases":["CLSA-2026-1786568979","CLSA-2026-1791959812","GHSA-439x-6767-44cv","ROOT-APP-MAVEN-CVE-2026-41007"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring HATEOAS library","requires_auth":"none","summary":"Attackers can cause heap exhaustion and denial of service by exploiting unbounded caching in Spring HATEOAS.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_hateoas","vendor":"vmware"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Spring HATEOAS heap exhaustion through unbounded internal caching","id":"CVE-2026-41007","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":10,"n_references":1,"next":{"headline":"Spring Security Authorization Server Open Redirect via request_uri","id":"CVE-2026-41008"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.5.6"],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.5.6"],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":[],"introduced":["2.3.0"],"last_affected":["2.3.4"],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":[],"introduced":["2.3.0"],"last_affected":["2.3.4"],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":[],"introduced":["2.4.0"],"last_affected":["2.4.1"],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":[],"introduced":["2.4.0"],"last_affected":["2.4.1"],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":["2.5.3"],"introduced":["2.5.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":["2.5.3"],"introduced":["2.5.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-439x-6767-44cv"},{"ecosystem":"Maven","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-439x-6767-44cv"}],"prev":{"headline":"Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration","id":"CVE-2026-41006"},"products":["Spring HATEOAS"],"published":"2026-06-09","related":[{"cvss_score":7.5,"headline":"Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration","id":"CVE-2026-41006","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":5.3,"headline":"Forwarded header exploit with Spring HATEOAS on WebFlux","id":"CVE-2023-34036","kev_date_added":null,"published":"2023-07-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-27","vendors":["Spring"]},"summary":"Attackers can cause heap exhaustion and denial of service by exploiting unbounded caching in Spring HATEOAS.","url":"https://insights.sbomify.com/CVE-2026-41007/"}