CVE-2026-42876
MEDIUM 4.9CVSS 3.1ExternalSecrets vulnerable to privilege escalation with secret overwriting
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.
- Published
- 11 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-285
- Also known as
- GHSA-fq7h-9x26-6j22GO-2026-5377
- Sources
- NVDJSONOSV GHSA-fq7h-9x26-6j22JSONOSV GO-2026-5377JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/external-secrets/external-secrets/apis | >= 0.1.0, < 2.4.1 | 2.4.1 |
| OSV | Go | github.com/external-secrets/external-secrets/apis | all versions |
References
- https://github.com/external-secrets/external-secrets/commit/4ddd240af7fe88725d9857b9a0c198073502e288 · WEB
- https://github.com/external-secrets/external-secrets/releases/tag/v2.4.1 · WEB
- https://github.com/external-secrets/external-secrets/security/advisories/GHSA-fq7h-9x26-6j22 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42876 · ADVISORY
- https://github.com/external-secrets/external-secrets · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 May 2026)