Bug 2542564 (CVE-2026-54160) - CVE-2026-54160 nut: Network UPS Tools: Arbitrary code execution via untrusted pull request workflow
Summary: CVE-2026-54160 nut: Network UPS Tools: Arbitrary code execution via untrusted...
Keywords:
Status: NEW
Alias: CVE-2026-54160
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2543000 2543001
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-28 16:41 UTC by OSIDB Bzimport
Modified: 2026-09-29 08:26 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-28 16:41:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.