Harden-Runner Evasion of 'disable-sudo' policy (step-security harden-runner)

CVE-2025-32955
MEDIUM 6.0

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M
Statut NVD
Deferred

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.

Faiblesses (CWE)

  • CWE-268 — Privilege Chaining
  • CWE-269 — Gestion incorrecte des privilèges

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:HGitHub_M
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:HNVD · security-advisories@github.com (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
step-security · harden-runneraffected >= 0.12.0, < 2.12.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD