GO-2026-6667: External Secrets Operator: label enforcement bypass in webhook generator enables secret exfiltration
External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. Starting in version 0.10.0 and prior to version 1.3.2, 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. Version 1.3.2 contains a patch.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.3.2
Event History
Frequently Asked Questions
Which deployments are affected?
External Secrets Operator deployments running version 0.10.0 through versions before 1.3.2 are affected. Version 1.3.2 contains the patch.
What condition allows the label check to be bypassed?
The issue occurs when the webhook generator is initialized: its EnforceLabels setting is cleared after being set. As a result, the provider-side requirement for the external-secrets.io/type=webhook label is skipped.
What should happen for an unlabeled secret on an unaffected version?
A webhook operation against a secret without the required label should fail with an error stating that the secret does not contain the needed external-secrets.io/type: webhook label. On affected versions, the operation may instead succeed.
How can I determine whether this has already affected my environment?
Check whether an affected Operator version accepted webhook operations for secrets that lacked the external-secrets.io/type=webhook label. Such operations should have been rejected by the provider-side label check.