CVE-2026-42876 External Secrets Operator: Privilege escalation with secret overwriting
MediumCVSS 4.9
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
Description
External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. Prior to 2.4.1, a user who only has permission to create ExternalSecret resources can cause the operator to create a Secret that Kubernetes will automatically populate with a long-lived token for the specified service account. This effectively allows the user to impersonate any service account in the namespace without needing direct create permissions on TokenRequest or Secrets of that type. This vulnerability is fixed in 2.4.1.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| external-secrets | = < 2.4.1 | No fix listed |
| external-secrets github.com/external-secrets/external-secrets/apis(Go) | >= 0.1.0, < 2.4.1 | 2.4.1 |
| external-secrets github.com/external-secrets/external-secrets/apis(Go) | All versions | No fix listed |
References
- https://github.com/external-secrets/external-secrets/security/advisories/GHSA-fq7h-9x26-6j22 vendor-advisory
- https://github.com/external-secrets/external-secrets/commit/4ddd240af7fe88725d9857b9a0c198073502e288 patch
- https://github.com/external-secrets/external-secrets/releases/tag/v2.4.1
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2469300 issue-tracking
- www.cve.org