GHSA-8w87-58w6-hfv8

Suggest an improvement
Source
https://github.com/advisories/GHSA-8w87-58w6-hfv8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-8w87-58w6-hfv8/GHSA-8w87-58w6-hfv8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8w87-58w6-hfv8
Aliases
Published
2026-03-03T14:49:34Z
Modified
2026-07-08T06:27:57Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Rancher doesn't properly sanitize credentials in cluster template answers
Details

Impact

It was discovered that in Rancher versions up to and including 2.5.12 and 2.6.3 there is a failure to properly sanitize credentials in cluster template answers. This failure can lead to plaintext storage and exposure of credentials, passwords and API tokens.

The exposed credentials are visible in Rancher to authenticated Cluster Owners, Cluster Members, Project Owners and Project Members on the endpoints /v1/management.cattle.io.clusters, /v3/clusters and /k8s/clusters/local/apis/management.cattle.io/v3/clusters.

Sensitive fields are now stripped from Clusters objects before the object is stored. For objects that existed before this security fix, a one-time migration happens on startup.

Important:

  • It is highly advised to review for potential leaked credentials in this scenario, and to change them if deemed necessary.
  • The final impact severity for confidentiality, integrity and availability is dependent on the permissions that the leaked credentials have on their own services.

Patches

Patched versions include releases 2.5.13, 2.6.4 and later versions.

Workarounds

Limit access in Rancher to trusted users. There is not a direct mitigation besides upgrading to the patched Rancher versions.

Important: It is highly advised to review for potential leaked credentials in this scenario, and to change them if deemed necessary.

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-200",
        "CWE-312",
        "CWE-522"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-03T14:49:34Z",
    "nvd_published_at":  "2022-09-07T09:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/rancher/rancher

Package

Name
github.com/rancher/rancher
View open source insights on deps.dev
Purl
pkg:golang/github.com/rancher/rancher

Affected ranges

Type
SEMVER
Events
Introduced
2.5.0
Fixed
2.5.13

Database specific

last_known_affected_version_range
"<= 2.5.12"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-8w87-58w6-hfv8/GHSA-8w87-58w6-hfv8.json"

Go / github.com/rancher/rancher

Package

Name
github.com/rancher/rancher
View open source insights on deps.dev
Purl
pkg:golang/github.com/rancher/rancher

Affected ranges

Type
SEMVER
Events
Introduced
2.6.0
Fixed
2.6.4

Database specific

last_known_affected_version_range
"<= 2.6.3"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-8w87-58w6-hfv8/GHSA-8w87-58w6-hfv8.json"