{"answers":{"affected":"7 open source packages ship an affected version, including k8s.io/kubernetes.","exploited":"There is no known exploitation of CVE-2025-5187 in the wild and no public exploit code.","fix":"Upgrade k8s.io/kubernetes to a fixed version for your release line: 1.31.12, 1.32.8 or 1.33.4.","what":"CVE-2025-5187 is a medium-severity missing authorization vulnerability in Kubernetes, published on 27 Aug 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-5187 and fix it if it is affected.\n\nWhat it is: CVE-2025-5187 is a medium-severity missing authorization vulnerability in Kubernetes, published on 27 Aug 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-5187 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.31.12, 1.32.8, 1.33.4\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.31.12\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.31.12\n- k8s.io/kubernetes (Go): affected from 1.32.0-alpha.0; fixed in 1.32.8\n- k8s.io/kubernetes (Go): affected from 1.32.0-alpha.0; fixed in 1.32.8\n- k8s.io/kubernetes (Go): affected from 1.33.0-alpha.0; fixed in 1.33.4\n- k8s.io/kubernetes (Go): affected from 1.33.0-alpha.0; fixed in 1.33.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-2025-5187/ (Markdown: https://insights.sbomify.com/CVE-2025-5187/index.md)","id":"CVE-2025-5187","markdown":"https://insights.sbomify.com/CVE-2025-5187/index.md","name":"CVE-2025-5187","record":{"aliases":["CLEANSTART-2026-GU62349","CLEANSTART-2026-JX65599","DEBIAN-CVE-2025-5187","ECHO-17d8-7195-e729","GHSA-4x4m-3c2p-qppc","GO-2025-3915","MINI-28xq-gmqc-62qv","MINI-384g-ww39-phhx","MINI-62hr-28p9-7886","MINI-6vcp-gg4q-6xmh","MINI-6vp8-9966-2vf9","MINI-73m3-w5m6-4jf5","MINI-76wr-4388-759f","MINI-855g-m7rg-gvhj","MINI-97rx-m573-h9cc","MINI-c9v4-jqm4-xq2h","MINI-cjhm-rqcm-q5vw","MINI-gfvx-f8p9-2j69","MINI-jw9x-r69w-7x43","MINI-m3g3-2wqc-mwrw","MINI-m778-24hm-h75w","MINI-p6wv-r3c6-r569","MINI-qgvp-9v3r-m7wq","MINI-r83w-mv42-3jpw","MINI-rq6p-22c7-j77w","MINI-v426-2p78-9m89","MINI-vmg2-v6xj-fjfh","MINI-whgw-9958-vc9x","MINI-wpfx-899x-cjpg","MINI-wvw4-2fwp-pvw5","OESA-2025-2280","OESA-2025-2281","OESA-2025-2282","OESA-2025-2283","OESA-2025-2284","OESA-2025-2318"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes admission controller","requires_auth":"high_privilege","summary":"A node can delete itself by adding an OwnerReference to a non-existent cluster-scoped resource, causing garbage collection to remove the node object.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"A vulnerability exists in the NodeRestriction admission controller in Kubernetes clusters where node users can delete their corresponding node object by patching themselves with an OwnerReference to a cluster-scoped resource. If the OwnerReference resource does not exist or is subsequently deleted, the given node object will be deleted via garbage collection.","ecosystems":["Go"],"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":"Nodes can delete themselves by adding an OwnerReference","id":"CVE-2025-5187","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":7,"n_references":2,"next":{"headline":"Browse As \u003c= 0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie","id":"CVE-2025-5190"},"packages":[{"ecosystem":"Go","fixed":["1.31.12","1.32.8","1.33.4"],"introduced":["0","1.32.0-alpha.0","1.33.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GO-2025-3915"},{"ecosystem":"Go","fixed":["1.31.12"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-4x4m-3c2p-qppc"},{"ecosystem":"Go","fixed":["1.31.12"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-4x4m-3c2p-qppc"},{"ecosystem":"Go","fixed":["1.32.8"],"introduced":["1.32.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-4x4m-3c2p-qppc"},{"ecosystem":"Go","fixed":["1.32.8"],"introduced":["1.32.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-4x4m-3c2p-qppc"},{"ecosystem":"Go","fixed":["1.33.4"],"introduced":["1.33.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-4x4m-3c2p-qppc"},{"ecosystem":"Go","fixed":["1.33.4"],"introduced":["1.33.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-4x4m-3c2p-qppc"}],"prev":{"headline":"thinkgem JeeSite URI Scheme form ResourceLoader.getResource server-side request forgery","id":"CVE-2025-5186"},"products":["Kubernetes"],"published":"2025-08-27","related":[],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Kubernetes"]},"summary":"A node can delete itself by adding an OwnerReference to a non-existent cluster-scoped resource, causing garbage collection to remove the node object.","url":"https://insights.sbomify.com/CVE-2025-5187/"}