Skip to content
RedCVE

CVE-2026-54161Networkupstools Nut OS command injection

networkupstoolsPublished:

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

  1. Check whether you're affected

    Find every system running networkupstools Nut and compare its version with the affected versions.

  2. 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 productsVersions
networkupstools Nut>= 2.8.3, <= 2.8.5

Weakness

Timeline

  1. Published:
  2. 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

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.