Skip to main content

External Secrets Operator CVE-2026-22822

CRITICAL
Incorrect Authorization (CWE-863)
2026-01-21 security-advisories@github.com GHSA-77v3-r3jw-j2v2
9.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain ExternalSecret create rights in a namespace
  2. Delivery
    Author ExternalSecret using getSecretKey for foreign namespace
  3. Exploit
    ESO resolves it with controller roleBinding
  4. Execution
    Cross-namespace secret injected into tenant Secret
  5. Impact
    Read exfiltrated credentials of other tenants

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the getSecretKey template function to be usable in an ExternalSecret (present in ESO 0.20.2-1.1.x) and an attacker who already holds permission to create or modify ExternalSecret resources in at least one namespace (PR:L) - typically a multi-tenant cluster where separate teams share one ESO installation and namespace isolation is a trust boundary. Limiting factors: the attacker must be an authenticated low-privilege Kubernetes principal with ExternalSecret write access (not anonymous/remote-unauthenticated), the affected ESO version must be deployed, and the controller's ServiceAccount must have broad enough RBAC to read the targeted cross-namespace secrets; single-tenant clusters or installations that block getSecretKey via admission policy are not realistically exploitable.

Impact

Signals conflict in an instructive way: the vendor CVSS 4.0 base score is 9.3 (Critical) with full high impact across both vulnerable and subsequent systems, yet EPSS is only 0.01% (2nd percentile), the CVE is not in CISA KEV, and no POC is referenced - so this is a high-severity design/authorization flaw rather than a mass-exploited one. The CVSS vector is AV:L/AC:L/AT:N/PR:L/UI:N, meaning low-but-nonzero privileges are required (PR:L - the attacker must already be able to create ExternalSecret resources in some namespace, i.e. an existing tenant or insider), which materially limits the population of attackers compared to an unauthenticated network flaw. The real priority is highest for multi-tenant clusters where namespace isolation between teams is a security boundary; in single-tenant clusters the practical impact is much lower. Note the vendor chose AV:L while the actual trigger is submitting a resource to the Kubernetes API - verify the intended attack vector against your cluster's API exposure model.

Exploit ScenarioDerived

A developer with namespace-scoped rights to create ExternalSecret resources (a normal tenant in a shared cluster) authors an ExternalSecret whose template calls getSecretKey pointing at a secret in another team's namespace. Because the function resolves with the external-secrets controller's roleBinding rather than the tenant's, the operator reads the foreign secret and materializes its value into a Secret the tenant controls, exposing credentials across the tenant boundary. No public POC is referenced, but the technique is simple and requires no special tooling.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – Jun 30, 2026

Cross-namespace secret disclosure in External Secrets Operator (versions 0.20.2 through 1.1.x) lets a low-privileged tenant who can author ExternalSecret resources abuse the getSecretKey template function to fetch secrets from other namespaces using the controller's own roleBinding, bypassing the operator's namespace-isolation safeguards. The function - originally added for the senhasegura DSM provider - was removed entirely in 1.2.0. There is no public exploit identified at time of analysis and EPSS is negligible (0.01%), but the authorization-bypass primitive is straightforward for any tenant with ExternalSecret create rights.

Earlier versions of this analysis (4)
v4 Jun 30, 2026 - 04:05 cvss changed CVSS 9.3

Cross-namespace secret disclosure in External Secrets Operator (versions 0.20.2 up to but not including 1.2.0) allows a tenant who can create ExternalSecret resources to abuse the getSecretKey template function so that secrets are fetched using the privileged external-secrets controller's roleBinding, bypassing the operator's namespace-isolation safeguards. Originally added for the senhasegura DSM provider, the function effectively lets a low-privileged namespace user read secrets belonging to other namespaces. There is no public exploit identified at time of analysis and the EPSS probability is negligible (0.01%), but the impact is a severe authorization-control bypass (CWE-863) with a vendor CVSS 4.0 of 9.3.

v3 Jun 30, 2026 - 04:04 cvss changed CVSS 9.3

Cross-namespace secret disclosure in External Secrets Operator (ESO) versions 0.20.2 through 1.1.x lets a tenant who can author an ExternalSecret resource abuse the v2 template function getSecretKey to read arbitrary Kubernetes Secrets from any namespace using the privileged roleBinding of the external-secrets controller, bypassing ESO's intended namespace isolation. The flaw was introduced alongside the senhasegura DSM provider and stems from the templating helper acting with the controller's service-account credentials rather than the requesting tenant's. No public exploit is identified at time of analysis and EPSS is negligible (0.01%), but advisory GHSA-77v3-r3jw-j2v2 plus downstream SUSE/Red Hat tracking confirm the issue is real and fixed in 1.2.0.

v2 Jun 30, 2026 - 04:03 cvss changed CVSS 9.3

Cross-namespace secret disclosure in External Secrets Operator (versions 0.20.2 through 1.1.x) lets a tenant with permission to create ExternalSecret resources abuse the getSecretKey template function to read Kubernetes Secrets in other namespaces using the privileged external-secrets controller's roleBinding, bypassing the operator's namespace isolation safeguards. Affecting the CNCF secrets-syncing operator, this is an authorization-control failure (CWE-863) carrying a CVSS 4.0 score of 9.3; it is fixed by removing the function in v1.2.0. There is no public exploit identified at time of analysis, and EPSS exploitation probability is very low (0.01%).

v1 Mar 12, 2026 - 21:54 CVSS 8.8

External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. [CVSS 8.8 HIGH]

RemediationAI

Vendor-released patch: version 1.2.0 - upgrade External Secrets Operator to v1.2.0 or later (release: https://github.com/external-secrets/external-secrets/releases/tag/v1.2.0; fix commit https://github.com/external-secrets/external-secrets/commit/17d3e22b8d3fbe339faf8515a95ec06ec92b1feb), which removes the getSecretKey function entirely; the advisory notes any legitimate use case can be reimplemented through supported mechanisms that respect ESO's namespace safeguards. If you cannot upgrade immediately, the vendor-recommended workaround is to deploy an admission/policy engine - Kyverno, Kubewarden, OPA/Gatekeeper, or native Kubernetes admission policies - to reject any ExternalSecret resource whose template references getSecretKey; the trade-off is that this requires a correctly scoped, well-tested policy covering all namespaces (a gap or bypass leaves the flaw exploitable) and may break any workload legitimately relying on that function until it is migrated. Consult SUSE-SU-2026:0403 and the Red Hat VEX for distro-specific fixed packages.

Affected Packages

go github.com/external-secrets/external-secrets fix: 1.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

External Secrets Operator (ESO) is a widely used Kubernetes controller that synchronizes secrets from external secret managers (Vault, AWS/GCP/Azure, senhasegura DSM, etc.) into native Kubernetes Secrets. ESO's security model relies on namespace scoping so a tenant's ExternalSecret can only materialize secrets the tenant is entitled to. The root cause is CWE-863 (Incorrect Authorization): the getSecretKey Go-template helper resolves secret references using the external-secrets controller's cluster-level ServiceAccount/roleBinding rather than the requesting tenant's permissions, so template evaluation effectively runs with the controller's elevated identity and crosses the namespace boundary the operator is supposed to enforce. The affected component per the CPE is cpe:2.3:a:external-secrets:external_secrets_operator.

Know when External Secrets Operator gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 8.5 HIGH

Tenant submits ExternalSecret via the K8s API (AV:N) with namespace-scoped rights (PR:L); the bypass crosses the namespace trust boundary (S:C) yielding foreign-secret disclosure (C:H) and limited secret injection (I:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
SUSE 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Red Hat 8.8 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

8
Analysis Updated
Jun 30, 2026 - 04:05 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:05 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:04 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:03 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 03:23 NVD
HIGH CRITICAL
CVSS changed
Jun 30, 2026 - 03:23 NVD
8.8 (HIGH) 9.3 (CRITICAL)
Patch released
Feb 18, 2026 - 15:29 nvd
Patch available
CVE Published
Jan 21, 2026 - 22:15 nvd
HIGH 8.8

DescriptionCVE.org

External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. Starting in version 0.20.2 and prior to version 1.2.0, the getSecretKey template function, while introduced for senhasegura Devops Secrets Management (DSM) provider, has the ability to fetch secrets cross-namespaces with the roleBinding of the external-secrets controller, bypassing our security mechanisms. This function was completely removed in version 1.2.0, as everything done with that templating function can be done in a different way while respecting External Secrets Operator's safeguards As a workaround, use a policy engine such as Kubernetes, Kyverno, Kubewarden, or OPA to prevent the usage of getSecretKey in any ExternalSecret resource.

Executive ViewAI

Why It Matters

External Secrets Operator versions 0.20.2-1.1.x contain a critical cross-namespace secret disclosure vulnerability (CVE-2026-22822) allowing low-privileged Kubernetes tenants to access secrets from other namespaces through the getSecretKey template function. No public exploit identified at time of analysis; however, organizations using ESO with multi-tenant clusters risk unauthorized exposure of sensitive data across namespace boundaries.

Business Impact: High
Compensating Controls

Vendor-released patch: version 1.2.0. Interim mitigations: restrict ExternalSecret creation permissions to trusted administrators only; implement network policies limiting controller service account scope; enable audit logging on secret access and ExternalSecret resource creation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Prevalence
Medium
popular CNCF Kubernetes secrets operator, common but not universal
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:external-secrets:external_secrets_operator:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Leap 15.6 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP5 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 Fixed
openSUSE Leap 15.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy