{"id":"CVE-2025-32955","published":"2025-04-21T20:45:58Z","modified":"2025-04-22T02:19:09Z","title":"Harden-Runner Evasion of 'disable-sudo' policy","vendor":"step-security","product":"harden-runner","tier":"tail","description":{"text":"Harden-Runner is a CI/CD security agent that works like an EDR for GitHub Actions runners. Versions from 0.12.0 to before 2.12.0 are vulnerable to `disable-sudo` bypass. Harden-Runner includes a policy option `disable-sudo` to prevent the GitHub Actions runner user from using sudo. This is implemented by removing the runner user from the sudoers file. However, this control can be bypassed as the runner user, being part of the docker group, can interact with the Docker daemon to launch privileged containers or access the host filesystem. This allows the attacker to regain root access or restore the sudoers file, effectively bypassing the restriction. This issue has been patched in version 2.12.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0023,"percentile":0.14163,"provenance":"source"},"cwes":[{"id":"CWE-268","name":"Privilege Chaining"},{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://github.com/step-security/harden-runner/security/advisories/GHSA-mxr3-8whj-j74r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/step-security/harden-runner/commit/0634a2670c59f64b4a01f0f96f84700a4088b9f0","tags":["x_refsource_MISC"]},{"url":"https://github.com/step-security/harden-runner/releases/tag/v2.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":2.83},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"step-security","affectedVersions":[{"vendor":"step-security","product":"harden-runner","versions":[">= 0.12.0, < 2.12.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T02:18:23.552404Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"GitHub Actions","package":"step-security/harden-runner","vulnerableRanges":[">=0.12.0, <2.12.0"],"patched":["2.12.0"],"from":["GHSA-mxr3-8whj-j74r"],"provenance":"source"}],"summary":{"text":"The Harden-Runner GitHub Actions security agent, from versions 0.12.0 up to but not including 2.12.0, can be bypassed in its disable-sudo policy, which removes the runner user from the sudoers file, because the runner user belongs to the docker group. An attacker with local access and an existing low-privileged runner user session, with no user interaction required, can use the Docker daemon to launch privileged containers or reach the host filesystem, regaining root access or restoring the sudoers file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:41Z"},"euvd":{"id":"EUVD-2025-12339","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-step-security-harden-runner-cve-2024-52587","parents":[{"from":"CVE-2024-52587","to":"CVE-2025-32955","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"GitHub Actions:step-security/harden-runner","fromFixed":"2.10.2","toFixed":"2.12.0","daysApart":154},{"kind":"same-code","provenance":"machine","files":["dist/post/index.js","dist/post/index.js.map","dist/pre/index.js","dist/pre/index.js.map","src/cleanup.ts"],"commits":["https://github.com/step-security/harden-runner/commit/0080882f6c36860b6ba35c610c98ce87d4e2f26f","https://github.com/step-security/harden-runner/commit/0634a2670c59f64b4a01f0f96f84700a4088b9f0"],"basis":"shared function","functions":["MonitorResponse"]}]}],"children":[{"from":"CVE-2025-32955","to":"CVE-2026-25598","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"GitHub Actions:step-security/harden-runner","fromFixed":"2.12.0","toFixed":"2.14.2","daysApart":294},{"kind":"same-code","provenance":"machine","files":["dist/pre/index.js","dist/pre/index.js.map","src/checksum.ts","src/install-agent.ts"],"commits":["https://github.com/step-security/harden-runner/commit/0634a2670c59f64b4a01f0f96f84700a4088b9f0","https://github.com/step-security/harden-runner/commit/5ef0c079ce82195b2a36a210272d6b661572d83e"],"basis":"shared function","functions":["installAgent"]}]}],"packageHistory":[{"cve":"CVE-2024-52587","published":"2024-11-18","fixed":"2.10.2","kev":false},{"cve":"CVE-2025-32955","published":"2025-04-21","fixed":"2.12.0","kev":false},{"cve":"CVE-2026-25598","published":"2026-02-09","fixed":"2.14.2","kev":false},{"cve":"CVE-2026-32946","published":"2026-03-20","fixed":"2.16.0","kev":false},{"cve":"CVE-2026-32947","published":"2026-03-20","fixed":"2.16.0","kev":false}],"package":"GitHub Actions:step-security/harden-runner"}}