Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-10220: Arbitrary command execution in Kubernetes kubelet gitRepo volumes

Published Nov 22, 2024 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.1High · v3.1
EPSS3.0%88th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Kubernetes
IdentifiersCVE-2024-10220CWE-78

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

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.

View more in app →
CVE-2024-10220-Kubernetes-gitRepo-Volume-VulnerabilityThis repository documents and provides a proof-of-concept exploit for CVE-2024-10220, a critical vulnerability in Kubernetes 1.27.x related to the deprecated gitRepo volume type. The vulnerability allows arbitrary command execution on the host running kubelet by leveraging a malicious .hooks directory in a Git repository. The README.md contains a full Python exploit script that crafts and sends a malicious pod manifest to the kubelet API endpoint, triggering the vulnerability. The repository also includes deployment examples using Terraform and Ansible, demonstrating how the exploit can be automated in a CI/CD pipeline. The main exploit capability is remote code execution on the Kubernetes host. The repository contains no actual code files except for the exploit script embedded in the README. Key fingerprintable endpoints include the kubelet API URL, the malicious Git repository, and file paths used in the exploit. The repository is intended for educational and defensive purposes, with responsible disclosure and mitigation advice provided.mrk336 · Disclosed Sep 8, 2025 · python · networkPoCcve-2024-10220-testThis repository is a proof-of-concept exploit for CVE-2024-10220, a vulnerability in Kubernetes kubelet's gitRepo volume feature that allows arbitrary command execution on cluster nodes. The repository contains several Bash scripts and a malicious Git hook (post-checkout) designed to be executed when the repository is mounted via a vulnerable gitRepo volume. The scripts demonstrate successful exploitation by writing system, user, and process information to files in /tmp, confirming code execution. The presence of a symlink to the .git directory suggests an attempt to ensure the malicious hook is recognized and executed. The repository is structured for research and testing purposes, with clear warnings in the README about its malicious nature. No network endpoints are present; all actions are local to the compromised node.imohammed28 · Disclosed Nov 30, 2025 · bash · localPoC
Exposure surface

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.

VendorProductType
KubernetesKubeletapplication
FAQ

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.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.