CVE-2026-41053: Github.com/rancher/rancher Rancher Has Over-inclusive Team Membership Vulnerability

HIGH
Advisory Identifier: GHSA-4j6x-2764-m8gh
CVSS 8.8
CWE-303
Published
Advisory Summary

CVE-2026-41053 is a HIGH (CVSS 8.8) rancher has over-inclusive team membership vulnerability (CWE-303: Incorrect Implementation of Authentication Algorithm) affecting Github.com/rancher/rancher libraries in the Go ecosystem. The issue involves rancher has over-inclusive team membership expansion in github app authentication provider. Remediation is available by upgrading affected packages to version 2.14.2, 2.13.6, 0.0.0-20260519172014-d0c047bbc6d2.

CVE-2026-41053 at a Glance

CVE Identifier CVE-2026-41053
GHSA Identifier GHSA-4j6x-2764-m8gh
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-303: Incorrect Implementation of Authentication Algorithm
Affected Product Github.com/rancher/rancher
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-41053

To remediate this vulnerability, upgrade all affected Github.com/rancher/rancher dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/rancher/rancher fixed: 2.14.2
Upgrade github.com/rancher/rancher to 2.14.2
github.com/rancher/rancher fixed: 2.13.6
Upgrade github.com/rancher/rancher to 2.13.6
github.com/rancher/rancher fixed: 0.0.0-20260519172014-d0c047bbc6d2
Upgrade github.com/rancher/rancher to 0.0.0-20260519172014-d0c047bbc6d2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/rancher/rancher

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-41053, inspect your project dependencies for Github.com/rancher/rancher:

inspect dependencies for github.com/rancher/rancher

Analyze the terminal output to locate any version of Github.com/rancher/rancher in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.14.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-303: Incorrect Implementation of Authentication Algorithm, where the requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect. In Github.com/rancher/rancher, 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

### Impact A vulnerability has been identified within Rancher Manager in the GitHub App authentication provider. When evaluating permissions, the provider incorrectly expands user team memberships to include all teams within the associated GitHub organization, rather than restricting access to the specific teams to which the user actually belongs. Specifically, when a user authenticates via the GitHub App provider, Rancher's team membership evaluation logic incorrectly handles cached data. Instead of checking the user-specific list, the evaluation logic iterates over all teams defined within the entire GitHub organization. The authentication provider should consult the correctly cached, per-user membership list to assign the user's specific group permissions. Consequently, any authenticated user who belongs to at least one team in a GitHub organization is mistakenly granted `group principals` for every team within that entire organization during authentication and authorization checks. This issue allows a malicious user who is a member of a low-privilege team within a GitHub organization to gain unauthorized access to or permissions for any other team in that organization. If those other teams are bound to Rancher login allowlists or RBAC roles (cluster-level, project-level, or global), the attacker can pass access checks that should otherwise fail, inheriting permissions they were never granted. **Exploitation of this vulnerability requires the following conditions to be met:** - The GitHub App authentication provider must be enabled and configured for the target GitHub organization. - The attacker must possess a valid GitHub account with membership in at least one team within that target organization. - A separate team within the same GitHub organization must be explicitly mapped to Rancher RBAC roles or specified within Rancher's login allowlist (`allowedPrincipalIds`). Please consult the associated [MITRE ATT&CK - Technique - Valid Accounts](https://attack.mitre.org/techniques/T1078/) for further information about this category of attack. ### Patches This fix corrects the team listing logic to iterate only the teams stored in the per-user membership cache and includes a one-time startup migration that marks all affected User resources for refresh, forcing Rancher to rebuild `group principals` using the now-corrected logic. Patched versions of Rancher include releases `v2.14.2` and `v2.13.6`. ### Workarounds If upgrading to a patched version immediately is not feasible, users are encouraged to consider these temporary mitigations: - Disable GitHub App authentication provider and switch to an alternative authentication provider (GitHub OAuth). - Remove or restrict team-based `group principals` from allowed principalIds. - Audit and temporarily remove RBAC bindings (`GlobalRoleBindings`, `ClusterRoleTemplateBindings`, `ProjectRoleTemplateBindings`) that reference GitHub App team `principals` until the patch is applied. - Disable provider refresh and clean up inflated group membership for users (manually or by writing a script). These workarounds reduce the attack surface but do not eliminate the vulnerability. Existing user sessions and cached principals remain inflated until a provider refresh occurs. Upgrading to a patched version is strongly recommended. ### References If you have any questions or comments about this advisory: - Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries. - Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository. - Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).

CVE-2026-41053 Affected Github.com/rancher/rancher Versions

3 component(s)
Fixed Versions:
2.14.22.13.60.0.0-20260519172014-d0c047bbc6d2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/rancher/rancher
Go
≥ 2.14.0
< 2.14.2
2.14.2
github.com/rancher/rancher
Go
≥ 2.13.0
< 2.13.6
2.13.6
github.com/rancher/rancher
Go
< 0.0.0-20260519172014-d0c047bbc6d2
0.0.0-20260519172014-d0c047bbc6d2

References

Frequently Asked Questions

What is CVE-2026-41053?
CVE-2026-41053 is a security vulnerability in Github.com/rancher/rancher involving Rancher has over-inclusive team membership expansion in GitHub App authentication provider under CWE-303: Incorrect Implementation of Authentication Algorithm.
Which Github.com/rancher/rancher versions are affected?
Affected versions include releases prior to 2.14.2, 2.13.6, 0.0.0-20260519172014-d0c047bbc6d2 across affected packages: github.com/rancher/rancher.
What version fixes CVE-2026-41053?
Upgrading to 2.14.2, 2.13.6, 0.0.0-20260519172014-d0c047bbc6d2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/rancher/rancher affected?
Yes, github.com/rancher/rancher is affected in releases prior to 2.14.2, 2.13.6, 0.0.0-20260519172014-d0c047bbc6d2. Upgrade your dependency to 2.14.2, 2.13.6, 0.0.0-20260519172014-d0c047bbc6d2 or later.
What is the CVSS score of CVE-2026-41053?
CVE-2026-41053 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-41053?
CVE-2026-41053 is classified under CWE-303: Incorrect Implementation of Authentication Algorithm (The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.).
How can I check Go dependencies for CVE-2026-41053?
Run the dependency tree command: 'inspect dependencies for github.com/rancher/rancher'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4j6x-2764-m8gh",
  "modified" : "2026-07-01T20:51:54Z",
  "published" : "2026-07-01T20:51:54Z",
  "aliases" : [ "CVE-2026-41053" ],
  "summary" : "Rancher has over-inclusive team membership expansion in GitHub App authentication provider",
  "details" : "### Impact\nA vulnerability has been identified within Rancher Manager in the GitHub App authentication provider. When evaluating permissions, the provider incorrectly expands user team memberships to include all teams within the associated GitHub organization, rather than restricting access to the specific teams to which the user actually belongs. \n\nSpecifically, when a user authenticates via the GitHub App provider, Rancher's team membership evaluation logic incorrectly handles cached data. Instead of checking the user-specific list, the evaluation logic iterates over all teams defined within the entire GitHub organization. The authentication provider should consult the correctly cached, per-user membership list to assign the user's specific group permissions. Consequently, any authenticated user who belongs to at least one team in a GitHub organization is mistakenly granted `group principals` for every team within that entire organization during authentication and authorization checks.\n\nThis issue allows a malicious user who is a member of a low-privilege team within a GitHub organization to gain unauthorized access to or permissions for any other team in that organization. If those other teams are bound to Rancher login allowlists or RBAC roles (cluster-level, project-level, or global), the attacker can pass access checks that should otherwise fail, inheriting permissions they were never granted.\n\n**Exploitation of this vulnerability requires the following conditions to be met:**\n- The GitHub App authentication provider must be enabled and configured for the target GitHub organization.\n- The attacker must possess a valid GitHub account with membership in at least one team within that target organization. \n- A separate team within the same GitHub organization must be explicitly mapped to Rancher RBAC roles or specified within Rancher's login allowlist (`allowedPrincipalIds`). \n\nPlease consult the associated  [MITRE ATT&CK - Technique - Valid Accounts](https://attack.mitre.org/techniques/T1078/) for further information about this category of attack.\n\n### Patches\nThis fix corrects the team listing logic to iterate only the teams stored in the per-user membership cache and includes a one-time startup migration that marks all affected User resources for refresh, forcing Rancher to rebuild `group principals` using the now-corrected logic.\n\nPatched versions of Rancher include releases `v2.14.2` and `v2.13.6`.\n\n### Workarounds\nIf upgrading to a patched version immediately is not feasible, users are encouraged to  consider these temporary mitigations:\n- Disable GitHub App authentication provider and switch to an alternative authentication provider (GitHub OAuth).\n- Remove or restrict team-based `group principals` from allowed principalIds.\n- Audit and temporarily remove RBAC bindings (`GlobalRoleBindings`, `ClusterRoleTemplateBindings`, `ProjectRoleTemplateBindings`) that reference GitHub App team `principals` until the patch is applied.\n- Disable provider refresh and clean up inflated group membership for users (manually or by writing a script).\n\nThese workarounds reduce the attack surface but do not eliminate the vulnerability. Existing user sessions and cached principals remain inflated until a provider refresh occurs. Upgrading to a patched version is strongly recommended.\n\n### References\nIf you have any questions or comments about this advisory:\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/rancher/rancher"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.14.0"
      }, {
        "fixed" : "2.14.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/rancher/rancher"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.13.0"
      }, {
        "fixed" : "2.13.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/rancher/rancher"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260519172014-d0c047bbc6d2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rancher/rancher/security/advisories/GHSA-4j6x-2764-m8gh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41053"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rancher/rancher/pull/55093"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rancher/rancher/pull/55147"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rancher/rancher/commit/361d4d57cd09b87f3c53f88af42046ffaa7b57e4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rancher/rancher/commit/d0c047bbc6d202e953d7557b82cbb354367db6ae"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rancher/rancher"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-303" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-01T20:51:54Z",
    "nvd_published_at" : "2026-06-30T12:16:23Z"
  }
}