CVE-2025-55196: Github.com/external secrets/external secrets External Secrets Operator's Missing Namespace Vulnerability
HIGHCVE-2025-55196 is a HIGH external secrets operator's missing namespace vulnerability (CWE-284: Improper Access Control) affecting Github.com/external secrets/external secrets libraries in the Go ecosystem. The issue involves external secrets operator's missing namespace restriction allows unauthorized secret access. Remediation is available by upgrading affected packages to version 0.19.2.
CVE-2025-55196 at a Glance
How to Fix CVE-2025-55196
To remediate this vulnerability, upgrade all affected Github.com/external secrets/external secrets dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/external-secrets/external-secrets to 0.19.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/external-secrets/external-secrets
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-55196, inspect your project dependencies for Github.com/external secrets/external secrets:
inspect dependencies for github.com/external-secrets/external-secrets
Analyze the terminal output to locate any version of Github.com/external secrets/external secrets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.19.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/external secrets/external secrets, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-55196 Affected Github.com/external secrets/external secrets Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/external-secrets/external-secrets
|
Go |
≥ 0.15.0
< 0.19.2
|
0.19.2
|
References
Frequently Asked Questions
What is CVE-2025-55196?
Which Github.com/external secrets/external secrets versions are affected?
What version fixes CVE-2025-55196?
Is github.com/external-secrets/external-secrets affected?
What CWE is associated with CVE-2025-55196?
How can I check Go dependencies for CVE-2025-55196?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fcxq-v2r3-cc8h",
"modified" : "2025-08-14T13:31:03Z",
"published" : "2025-08-13T19:45:15Z",
"aliases" : [ "CVE-2025-55196" ],
"summary" : "External Secrets Operator's Missing Namespace Restriction Allows Unauthorized Secret Access",
"details" : "## Summary\nA 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. \nThis flaw allowed an attacker to use label selectors to list and read secrets/secret-stores across the cluster, bypassing intended namespace restrictions.\n\n---\n\n## Impact\nAn 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. \nThis could lead to full disclosure of Kubernetes secrets, including credentials, tokens, and other sensitive information stored in the cluster.\n\n---\n\n## Exploitability\nTo exploit this vulnerability, an attacker must:\n\n1. Have permissions to create or update `PushSecret` resources.\n2. Control one or more `SecretStore` resources.\n\nWith these conditions met, the attacker could leverage label selectors to list secrets from any namespace and retrieve their contents.\n\n---\n\n## Affected Versions\n- **Vulnerable:** v0.15.0 – v0.19.1 \n- **Not Vulnerable:** v0.19.2 and later \n\n---\n\n## Fix\nThe vulnerability was addressed in v0.19.2 by adding namespace restrictions to the `List()` calls for both `PushSecret` and `SecretStore` controllers. \nThis ensures that only secrets in the intended namespace are accessible.\n\nRelevant fixes:\n- [#5133](https://github.com/external-secrets/external-secrets/pull/5133) – Enforce namespace selector for PushSecret `List()` calls \n- [#5109](https://github.com/external-secrets/external-secrets/pull/5109) – Enforce namespace selector for SecretStore `List()` calls \n\n---\n\n## Mitigation\nIf upgrading to v0.19.2 or later is not immediately possible, the following mitigations are recommended:\n\n- Restrict RBAC permissions so that only trusted service accounts can create or update `PushSecret` and `SecretStore` resources. \n- Audit existing `PushSecret` and `SecretStore` resources to ensure they are controlled by trusted parties. \n- Review Network Policies to prevent data exfiltration\n\n---\n\n## Credit\nThis vulnerability was reported by @gracedo and @moolen",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/external-secrets/external-secrets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.15.0"
}, {
"fixed" : "0.19.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/external-secrets/external-secrets/security/advisories/GHSA-fcxq-v2r3-cc8h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55196"
}, {
"type" : "WEB",
"url" : "https://github.com/external-secrets/external-secrets/pull/5109"
}, {
"type" : "WEB",
"url" : "https://github.com/external-secrets/external-secrets/pull/5133"
}, {
"type" : "WEB",
"url" : "https://github.com/external-secrets/external-secrets/commit/39cdba5863533007b582dc63dd300839326b2f1d"
}, {
"type" : "WEB",
"url" : "https://github.com/external-secrets/external-secrets/commit/de40e8f4fa9559c1d770bb674589b285da5ef2d1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/external-secrets/external-secrets"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-13T19:45:15Z",
"nvd_published_at" : "2025-08-13T23:15:27Z"
}
}