CVE-2026-42876 Details
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.
A vulnerability in External Secrets Operator prior to version 2.4.1 allows users with permission to create ExternalSecret resources to inject long-lived tokens into Kubernetes Secrets. These tokens can be used to impersonate any service account in the namespace, bypassing the need for direct permissions on TokenRequest or specific Secrets. The issue arises from improper validation of secret templates, particularly those related to service account tokens.
Users can upgrade to External Secrets Operator version 2.4.1 or later, where this vulnerability has been addressed. For those unable to upgrade, it is recommended to add admission control logic to prevent the use of Templates targeting service account token types, remove Service Account Token generation via kube-controller-manager flags, and restrict User RBAC on production clusters and sensitive namespaces.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 11, 2026CISA-ADP
Assessed May 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-285 | Improper Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| External Secrets Operator | > 0.1.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | New CVE Received | [email protected] |
Volerion