CVE-2024-10220: Arbitrary command execution in Kubernetes kubelet gitRepo volumes
- Vendor
- Kubernetes
CVE-2024-10220 is an arbitrary command execution vulnerability in the Kubernetes kubelet gitRepo volume implementation. A user permitted to create pods with gitRepo volumes can supply a specially crafted repository that leverages Git hooks to execute commands outside the container boundary. Commands execute with kubelet's privileges, which typically provide root access on the host. Affected kubelet versions include releases through 1.28.11, 1.29.0 through 1.29.6, and 1.30.0 through 1.30.2.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises container isolation and permits arbitrary command execution on the underlying Kubernetes node, potentially as host root. Node compromise can expose host data, credentials, and other workloads and may enable further compromise of the cluster, depending on accessible credentials and cluster permissions.
Mitigation
If you can’t patch tonight, do this now.
Prevent workloads from using gitRepo volumes. Replace them with Git clone operations performed inside an init container, sharing the resulting directory with the application container through a volume. Running kubelet under a non-root host account within a Linux user namespace can reduce the consequences of exploitation but does not fix the vulnerability; enabling a feature gate alone does not convert an existing rootful deployment.
Remediation
Patch, then assume compromise.
Upgrade kubelet to a fixed release: 1.28.12, 1.29.7, 1.30.3, or 1.31.0, or a later supported release containing the fix. Remove deprecated gitRepo volumes from pod specifications.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-10220 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2024-10220 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-10220?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2024-10220, the earliest disclosed Sep 8, 2025.
- Is there a patch for CVE-2024-10220?
- Upgrade kubelet to a fixed release: 1.28.12, 1.29.7, 1.30.3, or 1.31.0, or a later supported release containing the fix. Remove deprecated gitRepo volumes from pod specifications.
- What products are affected by CVE-2024-10220?
- Kubernetes Kubelet.
- How severe is CVE-2024-10220?
- CVE-2024-10220 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 3.0% (88th percentile) as of Nov 20, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.