CVE-2025-55196: External Secrets Operator's Missing Namespace Restriction Allows Unauthorized Secret Access
Summary A vulnerability was discovered in the External Secrets Operator where the List() calls for Kubernetes Secret and SecretStore resources performed by the PushSecret controller did not apply a namespace selector. This flaw allowed an attacker to use label selectors to list and read secrets/secret-stores across the cluster, bypassing intended namespace restrictions.
Published Aug 13, 2025 · Updated Aug 18, 2025
Affected packages
github.com/external-secrets/external-secrets
- Ecosystem
- Go
- Affected
- >= 0.15.0, < 0.19.2
- Fixed in
- 0.19.2
- Check
go list -m github.com/external-secrets/external-secrets
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A vulnerability was discovered in the External Secrets Operator where the List() calls for Kubernetes Secret and SecretStore resources performed by the PushSecret controller did not apply a namespace selector. This flaw allowed an attacker to use label selectors to list and read secrets/secret-stores across the cluster, bypassing intended namespace restrictions.
---
Impact
An attacker with the ability to create or update PushSecret resources and control SecretStore configurations could exploit this vulnerability to exfiltrate sensitive data from arbitrary namespaces. This could lead to full disclosure of Kubernetes secrets, including credentials, tokens, and other sensitive information stored in the cluster.
---
Exploitability
To exploit this vulnerability, an attacker must:
- Have permissions to create or update
PushSecretresources. - Control one or more
SecretStoreresources.
With these conditions met, the attacker could leverage label selectors to list secrets from any namespace and retrieve their contents.
---
Affected Versions
- Vulnerable: v0.15.0 – v0.19.1
- Not Vulnerable: v0.19.2 and later
---
Fix
The vulnerability was addressed in v0.19.2 by adding namespace restrictions to the List() calls for both PushSecret and SecretStore controllers. This ensures that only secrets in the intended namespace are accessible.
Relevant fixes:
- #5133 – Enforce namespace selector for PushSecret
List()calls - #5109 – Enforce namespace selector for SecretStore
List()calls
---
Mitigation
If upgrading to v0.19.2 or later is not immediately possible, the following mitigations are recommended:
- Restrict RBAC permissions so that only trusted service accounts can create or update
PushSecretandSecretStoreresources. - Audit existing
PushSecretandSecretStoreresources to ensure they are controlled by trusted parties. - Review Network Policies to prevent data exfiltration
---
Credit
This vulnerability was reported by @gracedo and @moolen
Credited to gracedo, moolen.
References
- https://github.com/external-secrets/external-secrets/security/advisories/GHSA-fcxq-v2r3-cc8h
- https://github.com/external-secrets/external-secrets/pull/5109
- https://github.com/external-secrets/external-secrets/pull/5133
- https://github.com/external-secrets/external-secrets/commit/39cdba5863533007b582dc63dd300839326b2f1d
- https://github.com/external-secrets/external-secrets/commit/de40e8f4fa9559c1d770bb674589b285da5ef2d1
- https://nvd.nist.gov/vuln/detail/CVE-2025-55196
- https://github.com/advisories/GHSA-fcxq-v2r3-cc8h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-26287
External Secrets Operator: label enforcement bypass in webhook generator enables secret exfiltration
high7.1Oct 6, 2026CVE-2026-42875
External Secrets Operator has Namespace Isolation Bypass in CAProvider ConfigMap Resolution for SecretStore
medium5.3May 5, 2026CVE-2026-34984
External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine
high6.5No fixApr 13, 2026CVE-2026-22822
External Secrets Operator insecurely retrieves secrets through the getSecretKey templating function
critical9.3Jan 20, 2026CVE-2024-45041
External Secrets Operator vulnerable to privilege escalation
high8.3Sep 9, 2024
