CVE-2025-32955CWE-268CWE-269

Harden-Runner Evasion of 'disable-sudo' policy

Medium · published April 21, 2025

CVSS v3.1
6.0
EPSS
0%
Percentile
12.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.0 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00226 · 12.6th percentile
Weaknesses
CWE-268 · Privilege Chaining; CWE-269 · Improper Privilege Management
Published
2025-04-21T20:45Z
EPSS history
Timeline
  • 21 APR 20:45Z
    Harden-Runner Evasion of 'disable-sudo' policy
    cvelistv5