{"id":"CVE-2026-26287","aliases":["CVE-2026-26287","GHSA-q7hv-xx6h-q2x8","GO-2026-6667"],"related":[],"kind":"vulnerability","state":"published","title":"External Secrets Operator: label enforcement bypass in webhook generator enables secret exfiltration","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\nA 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`.\n\n## Impact\nA 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.\n\n## Mitigations\nUntil you upgrade, you can reduce risk by:\n- disabling webhook generators if not needed (or denying `generators.external-secrets.io/v1alpha1` `Webhook` via an admission policy);\n- restricting RBAC: limit who can create generators of kind `Webhook`;\n- enforcing an admission policy (OPA Gatekeeper / Kyverno) requiring referenced secrets to be labeled `external-secrets.io/type=webhook`;\n- restricting egress from external-secrets controller pods to an allowlist (kubernetes `NetworkPolicy` / service mesh egress policy).\n\n## References\n- PR #5901 (fix: webhook initialization order)","format":"markdown","source":"ghsa"},{"lang":"en","text":"External Secrets Operator: label enforcement bypass in webhook generator enables secret exfiltration in github.com/external-secrets/external-secrets","format":"markdown","source":"go"}],"published":"2026-10-06T15:29:25.000Z","modified":"2026-10-20T00:55:45.081Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-696"],"affected":[{"ranges":[{"version":">= 0.10.0, < 1.3.2","status":"affected"}],"vendor":"external-secrets","product":"external-secrets","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected","fixed":"1.3.2"}],"ecosystem":"Go","package":"github.com/external-secrets/external-secrets","purl":"pkg:golang/github.com/external-secrets/external-secrets","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected","fixed":"1.3.2"}],"ecosystem":"Go","package":"github.com/external-secrets/external-secrets","purl":"pkg:golang/github.com/external-secrets/external-secrets","source":"go"}],"references":[{"url":"https://github.com/external-secrets/external-secrets/security/advisories/GHSA-q7hv-xx6h-q2x8","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/external-secrets/external-secrets/pull/5901","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/external-secrets/external-secrets/commit/25aa09275861e3ed6fc5d2a1a60b9ac3df4a93ba","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/external-secrets/external-secrets/releases/tag/v1.3.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/external-secrets/external-secrets","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-06T17:21:33.262Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26287","url":"https://www.cve.org/CVERecord?id=CVE-2026-26287","licence":"CVE Terms of Use","modified":"2026-10-06T17:21:44.292Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q7hv-xx6h-q2x8","url":"https://github.com/advisories/GHSA-q7hv-xx6h-q2x8","licence":"CC-BY-4.0","modified":"2026-10-20T00:55:45.081Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6667","url":"https://pkg.go.dev/vuln/GO-2026-6667","licence":"CC-BY-4.0","modified":"2026-10-20T00:45:10.097Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26287","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26287","licence":"Public domain","modified":"2026-10-06T20:03:40.690Z"}],"updatedAt":"2026-11-25T22:59:42.365Z","epss":{"score":0.00244,"percentile":0.16763,"date":"2026-12-01T12:00:22.000Z"}}