CVSS 3.1
8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.1) in networkupstools nut. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2026-54161 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54161?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54161?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54161 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| networkupstools nut | >= 2.8.3, <= 2.8.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | nut | no fix listed | DEBIAN-CVE-2026-54161 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 | nut | no fix listed | UBUNTU-CVE-2026-54161 |
| openSUSE | Tumbleweed | nut | 2.8.5-2.1 | openSUSE-SU-2026:11367-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Important.
This vulnerability is rated as Important because successful exploitation can allow arbitrary command execution with elevated root privileges, though it requires specific non-default notification directives alongside an untrusted or compromised upstream monitoring stream. In typical deployments, triggering the flaw requires an attacker to control or alter telemetry through a compromised upstream daemon, network-level manipulation, or rogue hardware. Furthermore, exposure is limited to environments where upsmon has been configured with the EXEC flag on ALARM notifications to dispatch external scripts.
To mitigate this vulnerability, disable external command execution for alarm notifications in the upsmon configuration:
1. Edit `/etc/ups/upsmon.conf` and locate the `NOTIFYFLAG ALARM` directive. Ensure the `EXEC` flag is omitted (for example, configure `NOTIFYFLAG ALARM SYSLOG` or remove `EXEC` from any combined flags such as `NOTIFYFLAG ALARM SYSLOG+WALL`). Alternatively, unset or comment out the `NOTIFYCMD` directive if external notification scripts are not required.
2. Restart the monitoring daemon to apply the configuration change:
```
systemctl restart nut-monitor
```
Warning: Restarting the `nut-monitor` daemon temporarily interrupts active UPS monitoring until the service initializes.
Caveats:
Disabling the `EXEC` flag prevents upsmon from executing custom external scripts or handlers when an alarm event is triggered by a monitored device.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54161.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.