GHSA-x7xj-jvwp-97rv
JSON

9.1critical

RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists

Severity
9.1critical CVSS:3.1 by GitHub
Published
Last changed
Also known as
GO-2024-3222

Description

Impact

A vulnerability has been identified whereby RKE2 deployments in Windows nodes have weak Access Control Lists (ACL), allowing BUILTIN\Users or NT AUTHORITY\Authenticated Users to view or edit sensitive files which could lead to privilege escalation.

The affected files include binaries, scripts, configuration and log files:

C:\etc\rancher\node\password
C:\var\lib\rancher\rke2\agent\logs\kubelet.log
C:\var\lib\rancher\rke2\data\v1.**.**-rke2r*-windows-amd64-*\bin\*
C:\var\lib\rancher\rke2\bin\*

This vulnerability is exclusive to RKE2 in Windows environments. Linux environments are not affected by it.

Please consult the associated MITRE ATT&CK - Technique - Exploitation for Privilege Escalation for further information about this category of attack.

Patches

Patched versions include RKE2 1.31.0, 1.30.2, 1.29.6, 1.28.11 and 1.27.15.

Workarounds

Users are advised to do a fresh install of their RKE2 Windows nodes using a patched RKE2 version. When that is not possible, users can enforce stricter ACLs for all sensitive files affected by this Security Advisory running this PowerShell script as an Administrator on each node.

References
For more information

If you have any questions or comments about this advisory:

Affected

Product or packageVersionsReported by
github.com/rancher/rke2 (Go)from 1.27.0 before 1.27.15, from 1.28.0 before 1.28.11, from 1.29.0 before 1.29.6, from 1.30.0 before 1.30.2, all versionsGitHub Advisory Database, Go Vulnerability Database

Classification

What each source says

GitHub Advisory Database
Impact

A vulnerability has been identified whereby RKE2 deployments in Windows nodes have weak Access Control Lists (ACL), allowing BUILTIN\Users or NT AUTHORITY\Authenticated Users to view or edit sensitive files which could lead to privilege escalation.

The affected files include binaries, scripts, configuration and log files:

C:\etc\rancher\node\password
C:\var\lib\rancher\rke2\agent\logs\kubelet.log
C:\var\lib\rancher\rke2\data\v1.**.**-rke2r*-windows-amd64-*\bin\*
C:\var\lib\rancher\rke2\bin\*

This vulnerability is exclusive to RKE2 in Windows environments. Linux environments are not affected by it.

Please consult the associated MITRE ATT&CK - Technique - Exploitation for Privilege Escalation for further information about this category of attack.

Patches

Patched versions include RKE2 1.31.0, 1.30.2, 1.29.6, 1.28.11 and 1.27.15.

Workarounds

Users are advised to do a fresh install of their RKE2 Windows nodes using a patched RKE2 version. When that is not possible, users can enforce stricter ACLs for all sensitive files affected by this Security Advisory running this PowerShell script as an Administrator on each node.

References
For more information

If you have any questions or comments about this advisory:

Go Vulnerability Database

RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists in github.com/rancher/rke2.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/rancher/rke2 from v1.27.0 before v1.27.15, from v1.28.0 before v1.28.11, from v1.29.0 before v1.29.6, from v1.30.0 before v1.30.2.

References

Related

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-x7xj-jvwp-97rv changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3222 changed 2026-06-19CC-BY-4.0