CVE-2025-62159
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedExternal 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`.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe BeyondTrust provider in External Secrets Operator versions 0.10.1 through 0.19.2 retrieves Kubernetes secrets without validating namespace context or verifying the secret store type. This allows unauthorized cross-namespace secret access, enabling attackers to read secrets from namespaces they should not have access to, violating Kubernetes security boundaries.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check External Secrets Operator versionRun 'kubectl get deployment -n external-secrets-operator -o jsonpath="{.items[*].spec.template.spec.containers[0].image}"' or check via Helm: 'helm list -n external-secrets-operator' and then 'helm get values <release> -n external-secrets-operator'Affected if The installed version falls within 0.10.1 to 0.19.2 (inclusive)
-
Identify BeyondTrust provider usageRun 'kubectl get secretstores.cluster.external-secrets.io -A' and 'kubectl get externalsecrets.external-secrets.io -A' to find SecretStore and ExternalSecret resources; examine their spec.provider.beyondtrust configurationAffected if Any SecretStore or ClusterSecretStore resource references the BeyondTrust provider in its spec
-
Verify ClusterSecretStore with BeyondTrustCheck any ClusterSecretStore resources with 'kubectl get clustersecretstore -o yaml' and look for spec.provider.beyondtrust; ClusterSecretStore with BeyondTrust can access secrets across all namespaces when this vulnerability existsAffected if A ClusterSecretStore resource uses the BeyondTrust provider, allowing cross-namespace access due to missing validation
-
Check namespace-scoped SecretStore usageExamine namespace-bound SecretStore resources: 'kubectl get secretstore -o yaml' and verify if any reference the BeyondTrust provider; note that namespace-scoped stores should be limited but the bug bypasses this protectionAffected if A namespace-scoped SecretStore uses BeyondTrust provider (vulnerability allows unauthorized access regardless)
-
Confirm Cross-namespace access exposureReview RBAC bindings: 'kubectl get rolebindings,clusterrolebindings -A -o wide' to identify principals that can use the BeyondTrust provider, then verify if ESO operator has permissions to read secrets from namespaces beyond what the principal should accessAffected if The ESO operator service account can read secrets in namespaces where the requesting user or service account should not have access, violating Kubernetes security boundaries
A user is affected if they run External Secrets Operator version 0.10.1 through 0.19.2 with any BeyondTrust provider SecretStore or ClusterSecretStore configured, allowing unauthorized cross-namespace secret retrieval.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade External Secrets Operator to version 0.20.0 or later, which implements namespace validation via the resolvers.SecretKeyRef utility that restricts cross-namespace access to ClusterSecretStore types only. Alternatively, deploy Kyverno or OPA policies to block the BeyondTrust provider until upgrade is possible.
External Secrets Operator >= 0.20.0
- 1. Identify your current External Secrets Operator deployment and verify it is within versions 0.10.1 through 0.19.2
- 2. Review the External Secrets Operator v0.20.0 release notes for any changes to the BeyondTrust provider or other breaking changes
- 3. Backup your current External Secrets Operator configurations, including any BeyondTrust SecretStore or ClusterSecretStore resources
- 4. Upgrade External Secrets Operator to version 0.20.0 or later using your deployment method (Helm, manifests, operator-sdk, etc.)
- 5. Verify the BeyondTrust provider now correctly enforces namespace validation by testing secret retrieval
- 6. Confirm that ClusterSecretStore resources can access cross-namespace secrets while namespaced SecretStore resources are restricted to their own namespace
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-62159 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-62159 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data