CVE-2026-54160

Source
https://cve.org/CVERecord?id=CVE-2026-54160
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54160.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54160
Aliases
  • GHSA-w6wj-3r73-fxmh
Downstream
Published
2026-09-28T16:35:45Z
Modified
2026-09-30T03:48:09Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L CVSS Calculator
Summary
Network UPS Tools: A PWN Request in make-dist workflow can execute PR-controlled code with write-scoped GITHUB_TOKEN
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-829"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54160.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "fixed":  "658b24ef8410648ceca6d5a59e8690efbc8c36bc"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/networkupstools/nut

Affected ranges

Type
GIT
Repo
https://github.com/networkupstools/nut
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source":  "REFERENCES"
}

Affected versions

v2.*
v2.0.1
v2.0.3
v2.4.0
v2.4.1
v2.4.2
v2.4.3
v2.6.0
v2.6.1
v2.6.2
v2.6.3
v2.6.4
v2.6.5
v2.7.1
v2.7.1-signed
v2.7.2
v2.7.2-signed
v2.7.3
v2.7.3-signed
v2.7.4
v2.8.0
v2.8.0-Windows
v2.8.0-rc1
v2.8.0-rc2
v2.8.0-rc3
v2.8.0-signed
v2.8.1
v2.8.2
v2.8.3
v2.8.3-rc1
v2.8.3-rc2
v2.8.3-rc3
v2.8.3-rc4
v2.8.3-rc5
v2.8.3-rc6
v2.8.4
v2.8.4-rc1
v2.8.4-rc2
v2.8.4-rc3
v2.8.4-rc4
v2.8.5
v2.8.5-rc1
v2.8.5-rc2
v2.8.5-rc4
v2.8.5-rc5
v2.8.5-rc6
v2.8.5-rc7
v2.8.5-rc8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54160.json"