CVE-2026-54161Networkupstools Nut OS command injection
CVSS score
8.1
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.64%
0.64% chance of exploitation in the next 30 days, higher than 51.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware. From 2.8.3 to 2.8.5, upsmon in clients/upsmon.c inserts the server-supplied ups.alarm value into shell commands executed by notify(), async_notify(), and wall(). When a monitored device reports an ALARM state and an operator has configured NOTIFYCMD with EXEC in NOTIFYFLAG ALARM, shell metacharacters in the alarm text are evaluated on POSIX or Windows and can execute arbitrary operating-system commands as the upsmon account, which is commonly root. An attacker can control the value through a malicious or compromised upsd, a man-in-the-middle on a plaintext upsd to upsmon connection, or a compromised UPS device whose driver supplies the alarm upstream of upsd; TLS between upsd and upsmon does not mitigate the compromised-device path. This vulnerability is fixed in 2.8.6.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running networkupstools Nut and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| networkupstools Nut | >= 2.8.3, <= 2.8.5 |
Weakness
- CWE-78 OS command injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-54161 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-54161?
CVE-2026-54161 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Networkupstools Nut (>= 2.8.3, <= 2.8.5)
Is there a patch for CVE-2026-54161?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- github.com/networkupstools/nut/commit/98e073d4cc31f9c73e2fa0c2677540487d902fe7
- github.com/networkupstools/nut/commit/dffba911504866695be698bb5ec49eac40d0f66a
- github.com/networkupstools/nut/commit/ecf98e7542e4ae2b62b211622ee26989274b2220
- github.com/networkupstools/nut/pull/3499
- github.com/networkupstools/nut/security/advisories/GHSA-mjgp-j4gm-6qg5
- www.openwall.com/lists/oss-security/2026/07/01/10
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.