Path Traversal in Kubernetes Kubelet
CVE-2024-10220
The Kubernetes kubelet component allows arbitrary command execution via specially crafted gitRepo volumes.This issue affects kubelet: through 1.28.11, from 1.29.0 through 1.29.6, from 1.30.0 through 1.30.2.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.030, 87.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kubernetes Kubelet — versions 0, 1.29.0, 1.30.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
9 public repositories with exploit or proof-of-concept code for this CVE:
- mrk336/CVE-2024-10220-Kubernetes-gitRepo-Volume-Vulnerability (1 star, last pushed 2025-09-08): CVE-2024-10220 reveals a critical flaw in Kubernetes’ deprecated gitRepo volume type, allowing attackers to execute arbitrary commands via malicious .hooks scripts. The article explains how this brea…
- mochizuki875/CVE-2024-10220-githooks (1 star, last pushed 2024-11-21): CVE-2024-10220 Test repo
- imohammed28/cve-2024-10220-test (last pushed 2025-11-30): Testing CVE-2024-10220 for HPC security research
- saleha-muzammil/cve-2024-10220-git-on-git (last pushed 2025-11-23)
- orgC/CVE-2024-10220-demo (last pushed 2025-05-12)
- candranapits/poc-CVE-2024-10220 (last pushed 2024-12-17): CVE-2024-10220 POC
- filipzag/CVE-2024-10220 (last pushed 2024-12-15)
- any2sec/cve-2024-10220 (last pushed 2024-11-29)
- XiaomingX/cve-2024-10220-githooks
Also mentioned in 5 other repositories (nomi-sec/PoC-in-GitHub, plzheheplztrying/cve_monitor, PuddinCat/GithubRepoSpider, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.