CVE-2026-26287: External Secrets Operator: label enforcement bypass in webhook generator enables secret exfiltration
Summary A bug in the webhook generator initialization order incorrectly cleared the label-enforcement flag (EnforceLabels) after it was set, resulting in the provider-side check for external-secrets.io/type=webhook being skipped (and the operation to succeed while it should have failed with secret does not contain needed label 'external-secrets.io/type: webhook'. Update secret label to use it with webhook.
Published Oct 6, 2026
Affected packages
github.com/external-secrets/external-secrets
- Ecosystem
- Go
- Affected
- >= 0.10.0, < 1.3.2
- Fixed in
- 1.3.2
- Check
go list -m github.com/external-secrets/external-secrets
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A bug in the webhook generator initialization order incorrectly cleared the label-enforcement flag (EnforceLabels) after it was set, resulting in the provider-side check for external-secrets.io/type=webhook being skipped (and the operation to succeed while it should have failed with secret does not contain needed label 'external-secrets.io/type: webhook'. Update secret label to use it with webhook.
Impact
A user with the permission to create webhook generator can set the webhook generator to a victim' secret (which was not previously labelled for webhook's use), and exfiltrate it to a malicious URL.
Mitigations
Until you upgrade, you can reduce risk by:
- disabling webhook generators if not needed (or denying
generators.external-secrets.io/v1alpha1Webhookvia an admission policy); - restricting RBAC: limit who can create generators of kind
Webhook; - enforcing an admission policy (OPA Gatekeeper / Kyverno) requiring referenced secrets to be labeled
external-secrets.io/type=webhook; - restricting egress from external-secrets controller pods to an allowlist (kubernetes
NetworkPolicy/ service mesh egress policy).
References
- PR #5901 (fix: webhook initialization order)
Credited to 1seal, gusfcarvalho, evrardj-roche.
References
- https://github.com/external-secrets/external-secrets/security/advisories/GHSA-q7hv-xx6h-q2x8
- https://github.com/external-secrets/external-secrets/pull/5901
- https://github.com/external-secrets/external-secrets/commit/25aa09275861e3ed6fc5d2a1a60b9ac3df4a93ba
- https://github.com/external-secrets/external-secrets/releases/tag/v1.3.2
- https://github.com/advisories/GHSA-q7hv-xx6h-q2x8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-42875
External Secrets Operator has Namespace Isolation Bypass in CAProvider ConfigMap Resolution for SecretStore
medium5.3May 5, 2026CVE-2026-34984
External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine
high6.5No fixApr 13, 2026CVE-2026-22822
External Secrets Operator insecurely retrieves secrets through the getSecretKey templating function
critical9.3Jan 20, 2026CVE-2025-55196
External Secrets Operator's Missing Namespace Restriction Allows Unauthorized Secret Access
high7.1Aug 13, 2025CVE-2024-45041
External Secrets Operator vulnerable to privilege escalation
high8.3Sep 9, 2024
