Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.3

CVE-2025-62159: External Secrets Operator BeyondTrust can leak secrets across namespaces

CVE-2025-62159 · published 1 year ago
Summary

If you use External Secrets Operator versions 0.10.1 to 0.19.2, the BeyondTrust integration could pull secret data from other namespaces without checking where it belongs, potentially exposing passwords or keys. Upgrade to version 0.20.0 or later, which adds proper checks, or use a policy tool like Kyverno or OPA to block the BeyondTrust provider and enforce namespace rules.

Original advisory text
External Secrets Operator's BeyondTrust Provider has Insecure Secret Retrieval
External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. A vulnerability was discovered in the BeyondTrust provider implementation for External Secrets Operator versions 0.10.1 through 0.19.2. The provider previously retrieved Kubernetes secrets directly, without validating the namespace context or the type of secret store. This allowed unauthorized cross-namespace secret access, violating security boundaries and potentially exposing sensitive credentials. In version 0.20.0, the provider code was updated to use the `resolvers.SecretKeyRef` utility, which enforces namespace validation and only allows cross-namespace access for `ClusterSecretStore` types. This ensures secrets are only retrieved from the correct namespace, mitigating the risk of unauthorized access. All users should upgrade to the latest version containing this fix. As a workaround, use a policy engine such as Kyverno or OPA to prevent using BeyondTrust provider and/or validate the `(Cluster)SecretStore` and ensure the namespace may only be set when using a `ClusterSecretStore`.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
8.3 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-284Improper Access Control
Timeline
Published10 Oct 2025
Updated4 Nov 2026
First seen7 Mar 2026
Sources
Track software like this
Free during beta