github.com/rancher/fleet
Affected
- introduced
0.15.0, fixed0.15.2(semver)
Fixed versions
0.15.2
Fix
- Fixed version
0.15.2go get github.com/rancher/[email protected]
Advisory
Also known as: CVE-2026-44935, GO-2026-5877
Rancher Fleet vulnerable to cross namespace secret disclosure via unvalidated valuesFrom references in Helm Deployer
Impact
A vulnerability in Fleet for Rancher Manager affects multi-tenancy environments where different tenants share the same downstream clusters (e.g., different privileged or untrusted teams inside the same organization).
On unpatched versions, tenants could bypass restrictions to access any config map or secret across all namespaces on the downstream cluster. They can create cluster-wide resources using HelmOp or Bundle without authorization.
Specifically, an attacker can exploit this vulnerability in the following ways:
valuesFrom in fleet.yaml(through a GitRepo resource) or a `HelmOp resource to read the contents of any secret an on the downstream cluster, provided they know or can guess the name, namespace, and key.HelmOp and Bundle resources without being restricted to a specific service account for the Fleet agent.If you use Fleet in a multi-tenant environment, it's recommended that you:
Please consult the associated MITRE ATT&CK - Technique - Unsecured Credentials for further information about this category of attack.
Patches
To resolve this vulnerability, upgrade to a patched version of Fleet. The new Policy resource allows you to:
GitRepos, HelmOps, and Bundles to require a specific service account for the Fleet agent on downstream clusters used for deployment. The agent uses these designated service accounts for operations, blocking access to unauthorized resources.HelmOp repository and chart URLs by using a regular expression. The regular expression is automatically anchored with ^ and $, meaning it must match the entire URL string.Like GitRepoRestriction, a Policy resource must be created in the specific namespace you want to restrict, and it only applies to that namespace.
Note: Before applying a policy, ensure that the required service account is available on the downstream clusters and is configured with least-privilege permissions.
Patched versions of Fleet include releases v0.15.2, v0.14.6, 0.13.11, and v0.12.15.
Workarounds
If you can't upgrade to a fixed version, please make sure that tenants do not have shared access to the same downstream clusters.
Credits
This security issue was reported by the following collaborators according to our responsible disclosure policy:
References
If you have any questions or comments about this advisory:
Critical Basis: The source's own band: CRITICAL
0.15.0, fixed 0.15.2 (semver)0.15.2
0.15.2go get github.com/rancher/[email protected]0.14.0, fixed 0.14.6 (semver)0.14.6
0.14.6go get github.com/rancher/[email protected]0.13.0, fixed 0.13.11 (semver)0.13.11
0.13.11go get github.com/rancher/[email protected]0.12.0, fixed 0.12.15 (semver)0.12.15
0.12.15go get github.com/rancher/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0