CVE-2025-4563: kubernetes allows nodes to bypass dynamic resource allocation authorization checks
(updated )
A vulnerability exists in the NodeRestriction admission controller where nodes can bypass dynamic resource allocation authorization checks. When the DynamicResourceAllocation feature gate is enabled, the controller properly validates resource claim statuses during pod status updates but fails to perform equivalent validation during pod creation. This allows a compromised node to create mirror pods that access unauthorized dynamic resources, potentially leading to privilege escalation.
References
- github.com/advisories/GHSA-hj2p-8wj8-pfq4
- github.com/kubernetes/kubernetes
- github.com/kubernetes/kubernetes/issues/132151
- github.com/kubernetes/kubernetes/pull/131844
- github.com/kubernetes/kubernetes/pull/131875
- github.com/kubernetes/kubernetes/pull/131876
- groups.google.com/g/kubernetes-security-announce/c/Zv84LMRuvMQ
- nvd.nist.gov/vuln/detail/CVE-2025-4563
- pkg.go.dev/vuln/GO-2025-3774
Code Behaviors & Features
Detect and mitigate CVE-2025-4563 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →