CVE-2026-41053: Over-inclusive team membership expansion in GitHub App authentication provider for Rancher

Published Jun 30, 2026
·
Updated

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 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 for security related inquiries. - Open an issue in the Rancher repository. - Verify with our support matrix and product support lifecycle.

Other sources

Incorrect authentication caching in the team member ship expansion of the Rancher Github authentication provider caused it granting principal access to any logged in user, in 2.13 before 2.13.6 and 2.14 before 2.14.2.

NVD

Affected Software

6 affected componentsFixes available
Rancher GitHub authentication provider>2.13<2.13.6, >2.14<2.14.2
go/github.com/rancher/rancher<0.0.0-20260519172014-d0c047bbc6d2
0.0.0-20260519172014-d0c047bbc6d2
go/github.com/rancher/rancher>=2.13.0<2.13.6
2.13.6
go/github.com/rancher/rancher>=2.14.0<2.14.2
2.14.2
SUSE rancher>=2.13.0<2.13.6
SUSE rancher>=2.14.0<2.14.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/rancher/rancher to a version that resolves this vulnerability.

    Fixed in 0.0.0-20260519172014-d0c047bbc6d2
  2. Upgrade

    Upgrade go/github.com/rancher/rancher to a version that resolves this vulnerability.

    Fixed in 2.13.6
  3. Upgrade

    Upgrade go/github.com/rancher/rancher to a version that resolves this vulnerability.

    Fixed in 2.14.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in v2.13.6
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in v2.14.2
  6. Configuration

    Temporarily disable the GitHub App authentication provider and switch to an alternative authentication provider (GitHub OAuth) until the patched Rancher version (v2.13.6 or v2.14.2) is applied.

    Rancher GitHub App authentication provider Disable GitHub App authentication provider = enabled=false
  7. Configuration

    Temporarily disable provider refresh and clean up inflated group membership for users (manually or by writing a script) so existing authenticated sessions/cached principals do not remain inflated until refresh occurs.

    Rancher authentication provider provider refresh and cached principals = disabled and cleared
  8. Configuration

    Audit and temporarily remove RBAC bindings (GlobalRoleBindings, ClusterRoleTemplateBindings, ProjectRoleTemplateBindings) that reference GitHub App team principals until the patch is applied.

    Rancher RBAC bindings GlobalRoleBindings, ClusterRoleTemplateBindings, ProjectRoleTemplateBindings = remove until patched
  9. Configuration

    Remove or restrict team-based group principals from allowedPrincipalIds until the patch is applied, especially where GitHub App team principals are mapped to Rancher RBAC roles or specified within allowedPrincipalIds.

    Rancher login allowlist (allowedPrincipalIds) allowedPrincipalIds = remove/restrict team-based group principals
  10. Operational

    Reach out to the SUSE Rancher Security team for security related inquiries, and open an issue in the Rancher repository if needed for further guidance (as referenced in the advisory).

Event History

Jun 30, 2026
CVE Published
via MITRE·11:38 AM
Data Sourced
via MITRE·11:38 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 1, 2026
Advisory Published
via GitHub·08:51 PM
Data Sourced
via GitHub·08:51 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-41053?

CVE-2026-41053 has a high severity rating of 8.8.

2

How do I fix CVE-2026-41053?

To fix CVE-2026-41053, update the Rancher GitHub authentication provider to version 2.13.6 or 2.14.2 or later.

3

What impact does CVE-2026-41053 have on my system?

CVE-2026-41053 allows unauthorized access to system resources due to flawed authentication caching.

4

Which versions are affected by CVE-2026-41053?

CVE-2026-41053 affects Rancher versions 2.13 before 2.13.6 and 2.14 before 2.14.2.

5

Is there a workaround for CVE-2026-41053 until I can update?

There is no official workaround for CVE-2026-41053; it is recommended to upgrade to a patched version as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203