CVE-2025-1767
This CVE only affects Kubernetes clusters that utilize the in-tree gitRepo volume to clone git repositories from other pods within the same node. Since the in-tree gitRepo volume feature has been deprecated and will not receive security updates upstream, any cluster still using this feature remains vulnerable.
02 / AFFECTED SOFTWARE
Affected packages
160 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
This CVE only affects Kubernetes clusters that utilize the in-tree gitRepo volume to clone git repositories from other pods within the same node. Since the in-tree gitRepo volume feature has been deprecated and will not receive security updates upstream, any cluster still using this feature remains vulnerable.
A security vulnerability was discovered in Kubernetes that could allow a user with create pod permission to exploit gitRepo volumes to access local git repositories belonging to other pods on the same node. This CVE only affects Kubernetes clusters that utilize the in-tree gitRepo volume to clone git repositories from other pods within the same node. Since the in-tree gitRepo volume feature has been deprecated and will not receive security updates upstream, any cluster still using this feature remains vulnerable.
Kubernetes GitRepo Volume Inadvertent Local Repository Access in k8s.io/kubernetes
05 / REFERENCES
Further evidence
- http://www.openwall.com/lists/oss-security/2025/03/13/9
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1767.json
- https://github.com/kubernetes/kubernetes/pull/130786
- https://groups.google.com/g/kubernetes-security-announce/c/19irihsKg7s
- https://nvd.nist.gov/vuln/detail/CVE-2025-1767
- https://github.com/kubernetes/kubernetes
- https://github.com/advisories/GHSA-3wgm-2gw2-vh5m