Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rancher/rancher
  4. ›
  5. CVE-2026-41053

CVE-2026-41053: Rancher has over-inclusive team membership expansion in GitHub App authentication provider

July 1, 2026

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 for further information about this category of attack.

References

  • github.com/advisories/GHSA-4j6x-2764-m8gh
  • github.com/rancher/rancher/commit/361d4d57cd09b87f3c53f88af42046ffaa7b57e4
  • github.com/rancher/rancher/commit/d0c047bbc6d202e953d7557b82cbb354367db6ae
  • github.com/rancher/rancher/pull/55093
  • github.com/rancher/rancher/pull/55147
  • github.com/rancher/rancher/security/advisories/GHSA-4j6x-2764-m8gh
  • nvd.nist.gov/vuln/detail/CVE-2026-41053

Code Behaviors & Features

Detect and mitigate CVE-2026-41053 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260519172014-d0c047bbc6d2, all versions starting from 2.13.0 before 2.13.6, all versions starting from 2.14.0 before 2.14.2

Fixed versions

  • 0.0.0-20260519172014-d0c047bbc6d2
  • 2.13.6
  • 2.14.2

Solution

Upgrade to versions 0.0.0-20260519172014-d0c047bbc6d2, 2.13.6, 2.14.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-303: Incorrect Implementation of Authentication Algorithm

Source file

go/github.com/rancher/rancher/CVE-2026-41053.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 18 Jul 2026 00:24:57 +0000.