CVE-2026-42875 — external-secrets
CVE-2026-42875 is a CWE-285 vulnerability in github.com/external-secrets/external-secrets. A fix is available for github.com/external-secrets/external-secrets — see the affected versions and patch details below.
External Secrets Operator: Namespace Isolation Bypass in CAProvider ConfigMap Resolution for SecretStore
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-42875.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
github.com/external-secrets/external-secretsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Namespaced SecretStore resources that used CAProvider with type ConfigMap could resolve CA material from another namespace when caProvider.namespace was set.
This bypassed the namespace boundary enforced for SecretStore-backed references in providers that rely on the shared runtime CA resolver.
The accessible data is used as CA validation material, hence it is not directly exposed.
Impact:
- Direct data exfiltration risk: low
- Existence disclosure: an attacker can infer whether a target ConfigMap/key exists in another namespace.
- Trust-boundary violation: a tenant can make its SecretStore consume CA material owned by another namespace.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/external-secrets/external-secrets | all versions | 2.4.0go get github.com/external-secrets/external-secrets@v2.4.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/external-secrets/external-secrets, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/external-secrets/external-secrets to 2.4.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-42875 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat rates this flaw as Moderate. The exposed data is limited to CA certificate material, which is public-key content used for TLS validation, not secrets or credentials. An attacker cannot leverage this to access the actual secrets stored in the external backend. Exploitation requires permissions to create or…
Do not set the caProvider.namespace field on namespaced SecretStore resources. When this field is omitted, the operator resolves CA material only from the local namespace, preventing the cross-namespace bypass. Review existing SecretStore configurations and remove any caProvider.namespace references that are not strictly required.Source: Red Hat security advisory for CVE-2026-42875 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-42875 in your dependencies?
Find it across Go, including transitive dependencies.