Live threats

All CVEs / External-secrets

CVE-2026-22822External-secrets External Secrets Operator

Critical 9.3

Priority
56
CVSS 4.0
9.3
EPSS
—
Auth required
Yes
Published
Jan 21, 2026
Updated
Jul 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
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/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for External Secrets Operator.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/external-secrets/external-secrets ≥ 0.20.2 < 1.2.0 1.2.0 go get github.com/external-secrets/external-secrets@v1.2.0
Go github.com/external-secrets/external-secrets ≥ 0.20.2 < 1.2.0 1.2.0 go get github.com/external-secrets/external-secrets@v1.2.0

Per OSV / GitHub Advisories (GHSA-77v3-r3jw-j2v2, GO-2026-4330). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
external-secretsexternal_secrets_operator≥ 0.20.2 < 1.2.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.