Root escalation via Docker group access
Published Apr 21, 2025 · Updated Apr 22, 2025
Privilege escalation in StepSecurity Harden-Runner 0.12.0 and later before 2.12.0 allows local users to gain root access through Docker. The disable-sudo policy removes the runner's sudoers file but leaves the Linux runner user in the root-equivalent Docker group, permitting privileged containers to mount the host filesystem. Exploitation requires code execution in a job configured with disable-sudo: true on a GitHub-hosted or ephemeral self-hosted VM; ARC deployments are unaffected.
Summary
What happened
Privilege escalation in StepSecurity Harden-Runner 0.12.0 and later before 2.12.0 allows local users to gain root access through Docker. The disable-sudo policy removes the runner's sudoers file but leaves the Linux runner user in the root-equivalent Docker group, permitting privileged containers to mount the host filesystem. Exploitation requires code execution in a job configured with disable-sudo: true on a GitHub-hosted or ephemeral self-hosted VM; ARC deployments are unaffected.
The record
- CVE
- CVE-2025-32955
- Published
- Apr 21, 2025
- Updated
- Apr 22, 2025
- Vendor
- StepSecurity
- Product
- Harden-Runner
- Classifications
- CWE-269, CWE-268, T1611
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 21, 2025CVE publishedPublication date reported by the CVE source.
- Apr 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 0.12.0, < 2.12.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Docker privileged-container sudoers restoration commandfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo