Property
Languageyaml
Severitymedium
CWECWE-798: Use of Hard-coded Credentials
OWASPA07:2021 - Identification and Authentication Failures
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelLow

Description#

Sensitive information such as passwords, API keys, or tokens is being stored directly in Kubernetes configuration files. This makes secrets visible to anyone with access to the codebase or version control.

Impact#

If these files are leaked or accessed by unauthorized users, attackers can obtain credentials and gain access to critical systems or data. This could result in compromised infrastructure, data breaches, or unauthorized actions within your Kubernetes environment.