Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-fcxq-v2r3-cc8h
No affected components available
Summary
A vulnerability was discovered in the External Secrets Operator where the List() calls for Kubernetes Secret and SecretStore resources performed by the PushSecret controller did not apply a namespace selector.
This flaw allowed an attacker to use label selectors to list and read secrets/secret-stores across the cluster, bypassing intended namespace restrictions.
Impact
An attacker with the ability to create or update PushSecret resources and control SecretStore configurations could exploit this vulnerability to exfiltrate sensitive data from arbitrary namespaces.
This could lead to full disclosure of Kubernetes secrets, including credentials, tokens, and other sensitive information stored in the cluster.
Exploitability
To exploit this vulnerability, an attacker must:
- Have permissions to create or update
PushSecretresources. - Control one or more
SecretStoreresources.
With these conditions met, the attacker could leverage label selectors to list secrets from any namespace and retrieve their contents.
Affected Versions
- Vulnerable: v0.15.0 – v0.19.1
- Not Vulnerable: v0.19.2 and later
Fix
The vulnerability was addressed in v0.19.2 by adding namespace restrictions to the List() calls for both PushSecret and SecretStore controllers.
This ensures that only secrets in the intended namespace are accessible.
Relevant fixes:
- #5133 – Enforce namespace selector for PushSecret
List()calls - #5109 – Enforce namespace selector for SecretStore
List()calls
Mitigation
If upgrading to v0.19.2 or later is not immediately possible, the following mitigations are recommended:
- Restrict RBAC permissions so that only trusted service accounts can create or update
PushSecretandSecretStoreresources. - Audit existing
PushSecretandSecretStoreresources to ensure they are controlled by trusted parties. - Review Network Policies to prevent data exfiltration
Credit
This vulnerability was reported by @gracedo and @moolen
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker needs basic access or low-level privileges. No user interaction is needed for the attacker to exploit this vulnerability.
Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.
The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard