{"id":"GHSA-x7xj-jvwp-97rv","aliases":["GO-2024-3222"],"status":"published","title":"RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists","description":"### Impact\n\nA 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.\n\nThe affected files include binaries, scripts, configuration and log files:\n\n```\nC:\\etc\\rancher\\node\\password\nC:\\var\\lib\\rancher\\rke2\\agent\\logs\\kubelet.log\nC:\\var\\lib\\rancher\\rke2\\data\\v1.**.**-rke2r*-windows-amd64-*\\bin\\*\nC:\\var\\lib\\rancher\\rke2\\bin\\*\n```\n\n**This vulnerability is exclusive to RKE2 in Windows environments. Linux environments are not affected by it.**\n\nPlease consult the associated [MITRE ATT\u0026CK - Technique - Exploitation for Privilege Escalation](https://attack.mitre.org/techniques/T1068/) for further information about this category of attack.\n\n\n### Patches\n\nPatched versions include RKE2 `1.31.0`, `1.30.2`, `1.29.6`, `1.28.11` and `1.27.15`.\n\n### Workarounds\n\nUsers are advised to do a fresh install of their RKE2 Windows nodes using a patched RKE2 version. \nWhen that is not possible, users can enforce stricter ACLs for all sensitive files affected by this Security Advisory running [this](https://github.com/rancherlabs/support-tools/blob/master/windows-access-control-lists/README.md) PowerShell script as an Administrator on each node.\n\n### References\n\n- [CVE-2023-32197](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32197)\n- [Rancher Manager’s GHSA-7h8m-pvw3-5gh4](https://github.com/rancher/rancher/security/advisories/GHSA-7h8m-pvw3-5gh4)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-732"],"published":"2024-10-25T19:39:07Z","modified":"2026-09-10T03:50:20Z","fixes":[{"ecosystem":"Go","package":"github.com/rancher/rke2","fixed_in":["1.27.15","1.28.11","1.29.6","1.30.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.27.0"},{"fixed":"1.27.15"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.28.0"},{"fixed":"1.28.11"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.29.0"},{"fixed":"1.29.6"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.30.0"},{"fixed":"1.30.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"SEMVER","events":[{"introduced":"1.27.0"},{"fixed":"1.27.15"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"SEMVER","events":[{"introduced":"1.28.0"},{"fixed":"1.28.11"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"SEMVER","events":[{"introduced":"1.29.0"},{"fixed":"1.29.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"SEMVER","events":[{"introduced":"1.30.0"},{"fixed":"1.30.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/rancher/rke2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"references":[{"url":"https://github.com/rancher/rancher/security/advisories/GHSA-7h8m-pvw3-5gh4","tags":["web"]},{"url":"https://github.com/rancher/rke2/security/advisories/GHSA-x7xj-jvwp-97rv","tags":["web","advisory"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32197","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x7xj-jvwp-97rv"},{"url":"https://github.com/rancher/rke2","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-x7xj-jvwp-97rv","title":"RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists","description":"### Impact\n\nA 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.\n\nThe affected files include binaries, scripts, configuration and log files:\n\n```\nC:\\etc\\rancher\\node\\password\nC:\\var\\lib\\rancher\\rke2\\agent\\logs\\kubelet.log\nC:\\var\\lib\\rancher\\rke2\\data\\v1.**.**-rke2r*-windows-amd64-*\\bin\\*\nC:\\var\\lib\\rancher\\rke2\\bin\\*\n```\n\n**This vulnerability is exclusive to RKE2 in Windows environments. Linux environments are not affected by it.**\n\nPlease consult the associated [MITRE ATT\u0026CK - Technique - Exploitation for Privilege Escalation](https://attack.mitre.org/techniques/T1068/) for further information about this category of attack.\n\n\n### Patches\n\nPatched versions include RKE2 `1.31.0`, `1.30.2`, `1.29.6`, `1.28.11` and `1.27.15`.\n\n### Workarounds\n\nUsers are advised to do a fresh install of their RKE2 Windows nodes using a patched RKE2 version. \nWhen that is not possible, users can enforce stricter ACLs for all sensitive files affected by this Security Advisory running [this](https://github.com/rancherlabs/support-tools/blob/master/windows-access-control-lists/README.md) PowerShell script as an Administrator on each node.\n\n### References\n\n- [CVE-2023-32197](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32197)\n- [Rancher Manager’s GHSA-7h8m-pvw3-5gh4](https://github.com/rancher/rancher/security/advisories/GHSA-7h8m-pvw3-5gh4)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).\n","status":"published","published":"2024-10-25T19:39:07Z","modified":"2024-10-25T19:39:08Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269","CWE-732"],"updated_at":"2026-11-02T14:38:13.09489Z"}],"osv":[{"id":"GHSA-x7xj-jvwp-97rv","title":"RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists","description":"### Impact\n\nA 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.\n\nThe affected files include binaries, scripts, configuration and log files:\n\n```\nC:\\etc\\rancher\\node\\password\nC:\\var\\lib\\rancher\\rke2\\agent\\logs\\kubelet.log\nC:\\var\\lib\\rancher\\rke2\\data\\v1.**.**-rke2r*-windows-amd64-*\\bin\\*\nC:\\var\\lib\\rancher\\rke2\\bin\\*\n```\n\n**This vulnerability is exclusive to RKE2 in Windows environments. Linux environments are not affected by it.**\n\nPlease consult the associated [MITRE ATT\u0026CK - Technique - Exploitation for Privilege Escalation](https://attack.mitre.org/techniques/T1068/) for further information about this category of attack.\n\n\n### Patches\n\nPatched versions include RKE2 `1.31.0`, `1.30.2`, `1.29.6`, `1.28.11` and `1.27.15`.\n\n### Workarounds\n\nUsers are advised to do a fresh install of their RKE2 Windows nodes using a patched RKE2 version. \nWhen that is not possible, users can enforce stricter ACLs for all sensitive files affected by this Security Advisory running [this](https://github.com/rancherlabs/support-tools/blob/master/windows-access-control-lists/README.md) PowerShell script as an Administrator on each node.\n\n### References\n\n- [CVE-2023-32197](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32197)\n- [Rancher Manager’s GHSA-7h8m-pvw3-5gh4](https://github.com/rancher/rancher/security/advisories/GHSA-7h8m-pvw3-5gh4)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).\n","status":"published","published":"2024-10-25T19:39:07Z","modified":"2026-09-10T03:50:20.296890104Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269","CWE-732"],"updated_at":"2026-11-02T15:46:59.835583Z"},{"id":"GO-2024-3222","title":"RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists in github.com/rancher/rke2","description":"RKE2 allows privilege escalation in Windows nodes due to Insecure Access Control Lists in github.com/rancher/rke2.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe 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.","status":"published","published":"2024-10-28T15:20:02Z","modified":"2026-06-19T12:44:20.665791355Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
