Improper input validation in Kubernetes
CVE-2021-25741
A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files & directories outside of the volume, including on the host filesystem.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.080, 94.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kubernetes — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- Betep0k/CVE-2021-25741 (30 stars, last pushed 2022-01-19): Exploit for CVE-2021-25741 vulnerability
- Glutenfree69/ZigRaceExploit (last pushed 2026-03-17): CVE-2021-25741 POC in Zig
- cdxiaodong/CVE-2021-25741 (last pushed 2023-10-19): fork on Betep0k/CVE-2021-25741/fork whose images is useless and test on metarget
Also mentioned in 35 other repositories (43622283/awesome-cloud-native-security, adavarski/HomeLab-k8s-DevSecOps-playground, adavarski/HomeLab-Proxmox-k8s-DevSecOps-playground, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s (Mailing List, Mitigation)
- github.com/kubernetes/kubernetes/issues/104980 (Third Party Advisory, Mitigation)
- security.netapp.com/advisory/ntap-20211008-0006/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.