Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
CRITICAL severity

GHSA-x7xj-jvwp-97rv rke2

CRITICAL

GHSA-x7xj-jvwp-97rv is a critical-severity (CVSS 9.1) vulnerability in github.com/rancher/rke2. A fix is available for github.com/rancher/rke2 — see the affected versions and patch details below.

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

Also known asGO-2024-3222
Published
Oct 25, 2024
Updated
Sep 10, 2026
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Sep 10, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

4 pkgs affected
🐹github.com/rancher/rke2🐹github.com/rancher/rke2🐹github.com/rancher/rke2🐹github.com/rancher/rke2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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 Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/rancher/rke21.27.0&&< 1.27.151.27.15go get github.com/rancher/rke2@v1.27.15
🐹Gogithub.com/rancher/rke21.28.0&&< 1.28.111.28.11go get github.com/rancher/rke2@v1.28.11
🐹Gogithub.com/rancher/rke21.29.0&&< 1.29.61.29.6go get github.com/rancher/rke2@v1.29.6
🐹Gogithub.com/rancher/rke21.30.0&&< 1.30.21.30.2go get github.com/rancher/rke2@v1.30.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/rancher/rke2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/rancher/rke2 to 1.27.15 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-x7xj-jvwp-97rv is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-x7xj-jvwp-97rv can be triaged on real exposure rather than presence alone.

Tailored to GHSA-x7xj-jvwp-97rv. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### 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 env
O3 Security · Impact-Aware SCA

Is GHSA-x7xj-jvwp-97rv in your dependencies?

O3 Security finds GHSA-x7xj-jvwp-97rv across Go dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-x7xj-jvwp-97rv: rke2 (Critical 9.1) | O3 Security