CVE Catalog

CVE-2026-22822

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

A vulnerability in External Secrets Operator (versions 0.20.2 to 1.2.0) allows bypassing security mechanisms via the `getSecretKey` template function, which can fetch secrets across namespaces using the controller's roleBinding. This function was completely removed in version 1.2.0.

Risk Assessment

An attacker could exploit this vulnerability to gain unauthorized access to secrets in different namespaces, leading to data leakage and violation of Kubernetes security policies.

Recommendation

Immediately upgrade External Secrets Operator to version 1.2.0 or later. As a workaround, use a policy engine (e.g., Kyverno, OPA) to block the use of `getSecretKey` in any ExternalSecret resource.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS