CVE-2025-32955 Details
Description
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.
A vulnerability exists in Harden-Runner, a CI/CD security agent for GitHub Actions runners, in versions 0.12.0 prior to 2.12.0. The issue involves a bypass of the 'disable-sudo' policy, which is intended to prevent the runner user from using sudo by removing them from the sudoers file. However, the runner user can exploit their membership in the docker group to interact with the Docker daemon, launching privileged containers or accessing the host filesystem. This capability allows the user to regain root access or restore the sudoers file, circumventing the intended restriction. The vulnerability can be exploited if the attacker can execute malicious code on the runner, such as through a supply chain attack or a Pwn Request vulnerability.
Users should update to Harden-Runner version 2.12.0 or later and migrate to the 'disable-sudo-and-containers' policy, which disables sudo access, removes access to Docker and containerd sockets, and uninstalls Docker from the runner. This update prevents container-based privilege escalation. The 'disable-sudo' option will be deprecated in the future, as it does not adequately restrict privilege escalation on its own.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 21, 2025CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/step-security/harden-runner/commit/0634a2670c59f64b4a01f0f96f84700a4088b9f0 | [email protected] | Source CodeVendor |
| https://github.com/step-security/harden-runner/releases/tag/v2.12.0 | [email protected] | Release NotesVendor |
| https://github.com/step-security/harden-runner/security/advisories/GHSA-mxr3-8whj-j74r | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-268 | Privilege Chaining | [email protected] |
| CWE-269 | Improper Privilege Management | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| step-security harden-runner | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 21, 2025 | New CVE Received | [email protected] |
Volerion