Advisory

GHSA-vf6j-6739-78m8

Also known as: CVE-2023-22648

Summary

Rancher's Azure AD permission changes are not reflected on active sessions

Details

A bug has been identified in which permission changes in Azure AD are not reflected to users while they are logged in the Rancher UI. This would cause the users to retain their previous permissions in Rancher, even if they change groups on Azure AD, for example, to a lower privileged group, or are removed from a group, thus retaining their access to Rancher instead of losing it.

Impact
This issue only affects Rancher instances with Azure AD integration enabled, regardless of the automatically refreshing settings which are enabled by default. The users that obtained a token (or kubeconfig) to access Rancher through the following sessions are affected by this issue:

  1. Users using the Rancher UI.
  2. Users using kubectl based on a kubeconfig downloaded through the Rancher UI.
  3. Tokens created via the Rancher UI Create API Key feature.

Note that the permission caching is persisted even when the Rancher Manager pod is restarted. The only way for a user to get the new permissions is to logout and login again.

Patches
Patched versions include releases 2.6.13, 2.7.4 and later versions.

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-03 14:48 UTC
Modified
2026-07-08 06:52 UTC

Affected packages and fixes

github.com/rancher/rancher

Go · All systems

Affected

  • introduced 2.6.7, fixed 2.6.13 (semver)

Fixed versions

2.6.13

Fix

github.com/rancher/rancher

Go · All systems

Affected

  • introduced 2.7.0, fixed 2.7.4 (semver)

Fixed versions

2.7.4

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences