Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| External-Secrets | External Secrets Operator | >= 0.20.2, < 1.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/external-secrets/external-secrets/commit/17d3e22b8d3fbe339fafPatch
- https://github.com/external-secrets/external-secrets/issues/5690Issue Tracking
- https://github.com/external-secrets/external-secrets/pull/3895Issue Tracking
- https://github.com/external-secrets/external-secrets/releases/tag/v1.2.0ProductRelease Notes
- https://github.com/external-secrets/external-secrets/security/advisories/GHSA-77Vendor Advisory
FAQ
What is CVE-2026-22822?
CVE-2026-22822 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 `getSecre...
How severe is CVE-2026-22822?
CVE-2026-22822 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-22822?
Check the references section above for vendor advisories and patch information. Affected products include: External-Secrets External Secrets Operator.