{"id":"CVE-2026-54160","published":"2026-09-28T17:17:49.833","lastModified":"2026-09-30T19:56:45.443","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.","cvssScore":8.2,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","cwes":["CWE-829"],"vendors":[],"products":[],"references":[{"url":"https://github.com/networkupstools/nut/commit/658b24ef8410648ceca6d5a59e8690efbc8c36bc","tags":[]},{"url":"https://github.com/networkupstools/nut/security/advisories/GHSA-w6wj-3r73-fxmh","tags":[]}],"exploitRefs":[{"url":"https://github.com/networkupstools/nut/commit/658b24ef8410648ceca6d5a59e8690efbc8c36bc","tags":[]},{"url":"https://github.com/networkupstools/nut/security/advisories/GHSA-w6wj-3r73-fxmh","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows a malicious PR in a fork to extract the GITHUB_TOKEN, enabling manipulation of the Git repository, commit checks/statuses, or issue/PR comments.","exploitability":"Exploitation is moderately hard as it requires a malicious PR in a fork, but once triggered, the impact can be severe.","blast_radius":"If exploited, the attacker could manipulate repository contents and commit checks/statuses, leading to potential data loss or unauthorized changes.","remediation":"Upgrade to the version 658b24e or 1aa31d1 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["auth-bypass","git","github","token-extraction"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:42:50.233Z"}}