CVE-2026-22822External Secrets Operator insecurely retrieves secrets through the getSecretKey templating function
- 9.3CriticalCVSS base score
- 0.19%Exploitation in 30 daysEPSS · top 91% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 12 days later
· 12 days later
Published
- 6 months later
· 6 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Critical9.3 | 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 |
| redhat-SADPADP (enrichment) | 3.1 | High8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 4.0 | Critical9.3 | 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 |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.3.
Affected products
external-secrets · external-secrets
- affected >= 0.20.2, < 1.2.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/external-secrets/external-secretsGHSA-77v3-r3jw-j2v2 (opens in a new tab)
References
References8
- https://github.com/external-secrets/external-secrets/security/advisories/GHSA-77v3-r3jw-j2v2 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/external-secrets/external-secrets/issues/5690 (opens in a new tab)x_refsource_MISC
- https://github.com/external-secrets/external-secrets/pull/3895 (opens in a new tab)x_refsource_MISC
- https://github.com/external-secrets/external-secrets/commit/17d3e22b8d3fbe339faf8515a95ec06ec92b1feb (opens in a new tab)x_refsource_MISC
- https://github.com/external-secrets/external-secrets/releases/tag/v1.2.0 (opens in a new tab)x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-22822 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2431873 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22822.json (opens in a new tab)x_sadp-csaf-vex
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-3404 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-77v3-r3jw-j2v2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-22822)Record last updated .