External Secrets Operator
CVE-2026-22822
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain ExternalSecret create rights in a namespace
-
DeliveryAuthor ExternalSecret using getSecretKey for foreign namespace
-
ExploitESO resolves it with controller roleBinding
-
ExecutionCross-namespace secret injected into tenant Secret
-
ImpactRead exfiltrated credentials of other tenants
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the |
| Impact | Signals conflict in an instructive way: the vendor CVSS 4.0 base score is 9.3 (Critical) with full high impact across both vulnerable and subsequent systems, yet EPSS is only 0.01% (2nd percentile), the CVE is not in CISA KEV, and no POC is referenced - so this is a high-severity design/authorization flaw rather than a mass-exploited one. The CVSS vector is AV:L/AC:L/AT:N/PR:L/UI:N, meaning low-but-nonzero privileges are required (PR:L - the attacker must already be able to create ExternalSecret resources in some namespace, i.e. an existing tenant or insider), which materially limits the population of attackers compared to an unauthenticated network flaw. The real priority is highest for multi-tenant clusters where namespace isolation between teams is a security boundary; in single-tenant clusters the practical impact is much lower. Note the vendor chose AV:L while the actual trigger is submitting a resource to the Kubernetes API - verify the intended attack vector against your cluster's API exposure model. |
| Exploit ScenarioDerived | A developer with namespace-scoped rights to create ExternalSecret resources (a normal tenant in a shared cluster) authors an ExternalSecret whose template calls |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 30, 2026
Cross-namespace secret disclosure in External Secrets Operator (versions 0.20.2 through 1.1.x) lets a low-privileged tenant who can author ExternalSecret resources abuse the getSecretKey template function to fetch secrets from other namespaces using the controller's own roleBinding, bypassing the operator's namespace-isolation safeguards. The function - originally added for the senhasegura DSM provider - was removed entirely in 1.2.0. There is no public exploit identified at time of analysis and EPSS is negligible (0.01%), but the authorization-bypass primitive is straightforward for any tenant with ExternalSecret create rights.
Earlier versions of this analysis (4)
Cross-namespace secret disclosure in External Secrets Operator (versions 0.20.2 up to but not including 1.2.0) allows a tenant who can create ExternalSecret resources to abuse the getSecretKey template function so that secrets are fetched using the privileged external-secrets controller's roleBinding, bypassing the operator's namespace-isolation safeguards. Originally added for the senhasegura DSM provider, the function effectively lets a low-privileged namespace user read secrets belonging to other namespaces. There is no public exploit identified at time of analysis and the EPSS probability is negligible (0.01%), but the impact is a severe authorization-control bypass (CWE-863) with a vendor CVSS 4.0 of 9.3.
Cross-namespace secret disclosure in External Secrets Operator (ESO) versions 0.20.2 through 1.1.x lets a tenant who can author an ExternalSecret resource abuse the v2 template function getSecretKey to read arbitrary Kubernetes Secrets from any namespace using the privileged roleBinding of the external-secrets controller, bypassing ESO's intended namespace isolation. The flaw was introduced alongside the senhasegura DSM provider and stems from the templating helper acting with the controller's service-account credentials rather than the requesting tenant's. No public exploit is identified at time of analysis and EPSS is negligible (0.01%), but advisory GHSA-77v3-r3jw-j2v2 plus downstream SUSE/Red Hat tracking confirm the issue is real and fixed in 1.2.0.
Cross-namespace secret disclosure in External Secrets Operator (versions 0.20.2 through 1.1.x) lets a tenant with permission to create ExternalSecret resources abuse the getSecretKey template function to read Kubernetes Secrets in other namespaces using the privileged external-secrets controller's roleBinding, bypassing the operator's namespace isolation safeguards. Affecting the CNCF secrets-syncing operator, this is an authorization-control failure (CWE-863) carrying a CVSS 4.0 score of 9.3; it is fixed by removing the function in v1.2.0. There is no public exploit identified at time of analysis, and EPSS exploitation probability is very low (0.01%).
External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. [CVSS 8.8 HIGH]
RemediationAI
Vendor-released patch: version 1.2.0 - upgrade External Secrets Operator to v1.2.0 or later (release: https://github.com/external-secrets/external-secrets/releases/tag/v1.2.0; fix commit https://github.com/external-secrets/external-secrets/commit/17d3e22b8d3fbe339faf8515a95ec06ec92b1feb), which removes the getSecretKey function entirely; the advisory notes any legitimate use case can be reimplemented through supported mechanisms that respect ESO's namespace safeguards. If you cannot upgrade immediately, the vendor-recommended workaround is to deploy an admission/policy engine - Kyverno, Kubewarden, OPA/Gatekeeper, or native Kubernetes admission policies - to reject any ExternalSecret resource whose template references getSecretKey; the trade-off is that this requires a correctly scoped, well-tested policy covering all namespaces (a gap or bypass leaves the flaw exploitable) and may break any workload legitimately relying on that function until it is migrated. Consult SUSE-SU-2026:0403 and the Red Hat VEX for distro-specific fixed packages.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
External Secrets Operator (ESO) is a widely used Kubernetes controller that synchronizes secrets from external secret managers (Vault, AWS/GCP/Azure, senhasegura DSM, etc.) into native Kubernetes Secrets. ESO's security model relies on namespace scoping so a tenant's ExternalSecret can only materialize secrets the tenant is entitled to. The root cause is CWE-863 (Incorrect Authorization): the getSecretKey Go-template helper resolves secret references using the external-secrets controller's cluster-level ServiceAccount/roleBinding rather than the requesting tenant's permissions, so template evaluation effectively runs with the controller's elevated identity and crosses the namespace boundary the operator is supposed to enforce. The affected component per the CPE is cpe:2.3:a:external-secrets:external_secrets_operator.
Know when External Secrets Operator gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Tenant submits ExternalSecret via the K8s API (AV:N) with namespace-scoped rights (PR:L); the bypass crosses the namespace trust boundary (S:C) yielding foreign-secret disclosure (C:H) and limited secret injection (I:L).
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
8DescriptionCVE.org
External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. Starting in version 0.20.2 and prior to version 1.2.0, the getSecretKey template function, while introduced for senhasegura Devops Secrets Management (DSM) provider, has the ability to fetch secrets cross-namespaces with the roleBinding of the external-secrets controller, bypassing our security mechanisms. This function was completely removed in version 1.2.0, as everything done with that templating function can be done in a different way while respecting External Secrets Operator's safeguards As a workaround, use a policy engine such as Kubernetes, Kyverno, Kubewarden, or OPA to prevent the usage of getSecretKey in any ExternalSecret resource.
Executive ViewAI
External Secrets Operator versions 0.20.2-1.1.x contain a critical cross-namespace secret disclosure vulnerability (CVE-2026-22822) allowing low-privileged Kubernetes tenants to access secrets from other namespaces through the getSecretKey template function. No public exploit identified at time of analysis; however, organizations using ESO with multi-tenant clusters risk unauthorized exposure of sensitive data across namespace boundaries.
Vendor-released patch: version 1.2.0. Interim mitigations: restrict ExternalSecret creation permissions to trusted administrators only; implement network policies limiting controller service account scope; enable audit logging on secret access and ExternalSecret resource creation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in External Secrets Operator
View allInsecure permissions in external-secrets v0.9.16 allows attackers to access sensitive data and escalate privileges by ob
External Secrets Operator is a Kubernetes operator that integrates external secret management systems. Rated high severi
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.5 | Fixed |
GHSA-77v3-r3jw-j2v2
NVD
CVE.org
EPSS
VulDB
Exploit-DB