CVE-2025-32955 Harden-Runner Evasion of ‘disable-sudo’ policy

Vulnerability Details

Basic Information

Title CVE-2025-32955 Harden-Runner Evasion of ‘disable-sudo’ policy
Type cve
Published 2025-04-21T20:45:58
Last Seen 2025-04-22T03:26:01
CVSS Score 6.0 (MEDIUM)

CVSS v3 Details

Attack Vector LOCAL
Attack Complexity LOW
Privileges Required HIGH
User Interaction NONE
Scope UNCHANGED
Confidentiality Impact NONE
Integrity Impact HIGH
Availability Impact HIGH

CVE Information

CVE IDs CVE-2025-32955
CWE CWE-268, CWE-269
Bulletin Family cve

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.

Impact Assessment

Base Score 6.0
Severity MEDIUM

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.