{"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-41006 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-41006 is a high-severity unsafe deserialization 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-41006 and fix it if it is affected.\n\nWhat it is: CVE-2026-41006 is a high-severity unsafe deserialization 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-41006 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-41006/ (Markdown: https://insights.sbomify.com/CVE-2026-41006/index.md)","id":"CVE-2026-41006","markdown":"https://insights.sbomify.com/CVE-2026-41006/index.md","name":"CVE-2026-41006","record":{"aliases":["CLSA-2026-1786690945","CLSA-2026-1792568406","GHSA-7fxc-486f-32q9","ROOT-APP-MAVEN-CVE-2026-41006"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring HATEOAS library","requires_auth":"none","summary":"Spring HATEOAS deserializers ignore Jackson access controls, allowing attackers to trigger unsafe reflection and potentially execute arbitrary code.","user_interaction":"not_required","vuln_class":"deserialization"},"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-284","name":"Improper Access Control"}],"description":"Spring HATEOAS's internal PropertyUtils.createObjectFromProperties method, used by the Collection+JSON and UBER media type deserializers, performs bean property binding via reflection without consulting Jackson access-control annotations.\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 Collection+JSON/UBER deserializers do not honor Jackson configuration","id":"CVE-2026-41006","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":10,"n_references":1,"next":{"headline":"Spring HATEOAS heap exhaustion through unbounded internal caching","id":"CVE-2026-41007"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.5.6"],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7fxc-486f-32q9"},{"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-7fxc-486f-32q9"},{"ecosystem":"Maven","fixed":[],"introduced":["2.3.0"],"last_affected":["2.3.4"],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7fxc-486f-32q9"},{"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-7fxc-486f-32q9"},{"ecosystem":"Maven","fixed":[],"introduced":["2.4.0"],"last_affected":["2.4.1"],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7fxc-486f-32q9"},{"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-7fxc-486f-32q9"},{"ecosystem":"Maven","fixed":["2.5.3"],"introduced":["2.5.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7fxc-486f-32q9"},{"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-7fxc-486f-32q9"},{"ecosystem":"Maven","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7fxc-486f-32q9"},{"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-7fxc-486f-32q9"}],"prev":{"headline":"UAA accepts SAML Encrypted Assertions authentication bypass","id":"CVE-2026-41005"},"products":["Spring HATEOAS"],"published":"2026-06-09","related":[{"cvss_score":7.5,"headline":"Spring HATEOAS heap exhaustion through unbounded internal caching","id":"CVE-2026-41007","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":"Spring HATEOAS deserializers ignore Jackson access controls, allowing attackers to trigger unsafe reflection and potentially execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2026-41006/"}