Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-26287 Overview
CVE-2026-26287 affects the External Secrets Operator (ESO), a Kubernetes controller that reads information from third-party services and injects the values as Kubernetes Secrets. A flaw in the webhook generator initialization order clears the EnforceLabels flag after it has been set. The provider-side check for the external-secrets.io/type=webhook label is skipped as a result. Operations that should fail with secret does not contain needed label 'external-secrets.io/type: webhook' succeed instead. The issue affects versions 0.10.0 through 1.3.1 and is patched in version 1.3.2. The weakness is classified as [CWE-696] (Incorrect Behavior Order).
Critical Impact
Authenticated users with low privileges can leverage webhook generators against secrets that lack the required label, undermining tenant isolation and exposing confidential data retrieved through the webhook provider.
Affected Products
- External Secrets Operator versions 0.10.0 through 1.3.1
- Kubernetes clusters using the webhook generator in ESO
- External Secrets Operator version 1.3.2 (patched)
Discovery Timeline
- 2026-10-06 - CVE-2026-26287 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-26287
Vulnerability Analysis
The External Secrets Operator uses an EnforceLabels flag to require that secrets consumed by the webhook generator carry the external-secrets.io/type=webhook label. This label gate prevents a webhook generator from reading arbitrary secrets in a cluster. The flag is intended to be set during generator initialization and consulted during each provider call.
In affected releases, the initialization order of the webhook generator is incorrect. The EnforceLabels flag is cleared after being set, so the provider-side label check is bypassed. Any call that would normally fail with the message secret does not contain needed label 'external-secrets.io/type: webhook'. Update secret label to use it with webhook instead succeeds.
The impact is a loss of the label-based authorization boundary around webhook secret consumption. An authenticated principal with permission to create or modify ESO custom resources can direct the webhook generator at secrets that were never approved for webhook use, breaking multi-tenant isolation inside the cluster.
Root Cause
The root cause is an initialization-order defect in the webhook generator ([CWE-696]). Code that configures EnforceLabels runs before a subsequent construction step that resets the generator struct, so the enforcement flag reverts to its zero value and the label check is never executed.
Attack Vector
Exploitation requires network access to the Kubernetes API and low-privilege authenticated access to resources that drive the webhook generator. No user interaction is needed. By submitting an ExternalSecret or related resource that references a secret without the required external-secrets.io/type: webhook label, the attacker causes the operator to proceed with the webhook call that should have been rejected.
// Security patch metadata - fix: webhook initialization order (#5901)
module github.com/external-secrets/external-secrets/apis
-go 1.25.1
+go 1.25.6
require (
github.com/stretchr/testify v1.10.0
Source: GitHub Commit 25aa092
The patch commit reorders webhook generator initialization so that EnforceLabels remains set when the provider executes its label check. Full details are available in GitHub Pull Request #5901 and the GitHub Security Advisory GHSA-q7hv-xx6h-q2x8.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-26287
Indicators of Compromise
- Successful webhook generator operations against Kubernetes secrets that do not carry the external-secrets.io/type: webhook label.
- Absence of expected secret does not contain needed label 'external-secrets.io/type: webhook' errors in ESO controller logs where label-violating resources exist.
- Unexpected outbound traffic from the External Secrets Operator pod to webhook endpoints referencing secrets outside the tenant namespace.
Detection Strategies
- Audit all ExternalSecret, ClusterExternalSecret, and generator resources that reference the webhook provider, and compare their referenced secrets against the required label.
- Inventory running ESO versions across clusters and flag any installation between 0.10.0 and 1.3.1.
- Review Kubernetes audit logs for creations or updates of webhook-generator resources by low-privilege service accounts or namespace-scoped users.
Monitoring Recommendations
- Alert on ESO controller log entries that indicate webhook generator reads of secrets missing the external-secrets.io/type: webhook label.
- Monitor egress from the ESO namespace to webhook endpoints and correlate with the source ExternalSecret resource.
- Track changes to ESO deployment images and confirm clusters are upgraded to version 1.3.2 or later.
How to Mitigate CVE-2026-26287
Immediate Actions Required
- Upgrade External Secrets Operator to version 1.3.2 across all clusters as described in the GitHub Release v1.3.2 notes.
- Enumerate every secret referenced by a webhook generator and verify it legitimately requires webhook access.
- Restrict Kubernetes RBAC so that only trusted principals can create or modify ESO custom resources that invoke the webhook generator.
Patch Information
The fix is delivered in External Secrets Operator version 1.3.2 via GitHub Pull Request #5901 and commit 25aa092. The patch corrects the webhook generator initialization order so the EnforceLabels flag remains active and the provider enforces the external-secrets.io/type: webhook label check. See the GitHub Security Advisory GHSA-q7hv-xx6h-q2x8 for the authoritative advisory.
Workarounds
- Temporarily disable the webhook generator in ESO configurations until clusters can be upgraded to 1.3.2.
- Apply tight Kubernetes RBAC to the ESO service account and tenant namespaces so webhook generator resources cannot reference secrets outside their intended scope.
- Use admission control policies to reject ExternalSecret and generator resources that target secrets missing the external-secrets.io/type: webhook label.
# Upgrade External Secrets Operator to the patched release using Helm
helm repo update external-secrets
helm upgrade external-secrets external-secrets/external-secrets \
--namespace external-secrets \
--version 1.3.2
# Verify the deployed version
kubectl -n external-secrets get deployment external-secrets \
-o jsonpath='{.spec.template.spec.containers[0].image}'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

