Kubernetes GitRepo Volume Inadvertent Local Repository Access
Moderate severity
GitHub Reviewed
Published
Mar 13, 2025
to the GitHub Advisory Database
•
Updated Mar 14, 2025
Description
Published by the National Vulnerability Database
Mar 13, 2025
Published to the GitHub Advisory Database
Mar 13, 2025
Reviewed
Mar 14, 2025
Last updated
Mar 14, 2025
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.
References