9.3Crítica

CVE-2026-22822External Secrets Operator insecurely retrieves secrets through the getSecretKey templating function

external-secrets external-secrets; Red Hat External Secrets Operator for Red Hat OpenShift; Red Hat external secrets operator for Red Hat OpenShift - Tech Preview Publicada: (hace 10 meses)

Descripción

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.

Debilidad (CWE): CWE-863

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:external-secrets:external_secrets_operator:*:*:*:*:*:*:*:* ≥ 0.20.2 < 1.2.0