CVE-2025-5187

Source
https://cve.org/CVERecord?id=CVE-2025-5187
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5187.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5187
Aliases
Downstream
Related
Published
2025-08-27T16:20:56.778Z
Modified
2026-05-18T05:58:09.937598682Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Nodes can delete themselves by adding an OwnerReference
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5187.json",
    "cna_assigner": "kubernetes",
    "cwe_ids": [
        "CWE-863"
    ]
}
References

Affected packages

Git / github.com/kubernetes/kubernetes

Affected ranges

Type
GIT
Repo
https://github.com/kubernetes/kubernetes
Events
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "v1.31.0"
        },
        {
            "last_affected": "v1.31.11"
        },
        {
            "introduced": "v1.32.0"
        },
        {
            "last_affected": "v1.32.7"
        },
        {
            "introduced": "v1.33.0"
        },
        {
            "last_affected": "v1.33.3"
        }
    ]
}

Affected versions

v1.*
v1.31.0
v1.31.1
v1.31.10
v1.31.11
v1.31.2
v1.31.3
v1.31.4
v1.31.5
v1.31.6
v1.31.7
v1.31.8
v1.31.9
v1.32.0
v1.32.1
v1.32.2
v1.32.3
v1.32.4
v1.32.5
v1.32.6
v1.32.7
v1.33.0
v1.33.1
v1.33.2
v1.33.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5187.json"