# CVE-2025-62159: External Secrets Operator's BeyondTrust Provider has Insecure Secret Retrieval

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-10-10T22:23:19.071Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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`.

(As written by CVE List.)

## Affected

- external-secrets external-secrets: >= 0.10.1, < 0.20.0

## References

- <https://github.com/external-secrets/external-secrets/security/advisories/GHSA-vf79-2pjx-phpp>

## Sources

- CVE List: [CVE-2025-62159](https://www.cve.org/CVERecord?id=CVE-2025-62159), CVE Terms of Use, modified 2025-10-14
- NVD: [CVE-2025-62159](https://nvd.nist.gov/vuln/detail/CVE-2025-62159), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-62159 · Whole record: https://cve.day/CVE-2025-62159.json · Rebuilt by cve.day 2026-11-25T22:59:05.781Z
