All vulnerabilities
CVE-2026-54160GHSA-w6wj-3r73-fxmh

nut: Network UPS Tools: A PWN Request in make-dist workflow can execute PR-controlled code with write-scoped GITHUB_TOKEN

networkupstools nut
CVSS
8.2High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in658b24ef8410648ceca6d5a59e8690efbc8c36bcAlso 1aa31d14b649031b43ada9e04cf82882a64cba0aGitHub
Published28 Sep 2026Updated 28 Sep 2026CVE List

What fixes it

  • 658b24ef8410648ceca6d5a59e8690efbc8c36bcnetworkupstools/nut, actionsGitHub
  • 1aa31d14b649031b43ada9e04cf82882a64cba0anetworkupstools/wmnut, actionsGitHub

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware. Prior to commits 658b24e and 1aa31d1, the GitHub Actions script used to prepare NUT tarballs and update GitHub Checks statuses and PR comments about it was mis-structured in terms of mixing code running with higher privileges (single-use token generated with write permissions) and untrusted inputs (PR source branch). A malicious PR run from a fork could extract the GITHUB_TOKEN value. It could potentially be abused while it was valid (while the GHA job ran) to manipulate Git repository contents, commit checks/statuses, or issue/PR comments, according to permissions it was issued with. This issue has been patched via commits 658b24e and 1aa31d1.

Text from CVE List

Affected versions 3

  • nutaffected: < 658b24ef8410648ceca6d5a59e8690efbc8c36bcCVE List
  • networkupstools/nut, actionsdb633d1bdf2ab36eb28343ae91bb0775ceaa1919GitHub
  • networkupstools/wmnut, actions4b3812ce5442bc36d03cc788cee55d2749162427GitHub

References 2