UBUNTU-CVE-2026-54161

Source
https://ubuntu.com/security/CVE-2026-54161
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54161.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-54161
Upstream
Published
2026-11-03T20:18:00Z
Modified
2026-11-05T11:46:37Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:25.10 / nut

Package

Name
nut
Purl
pkg:deb/ubuntu/nut?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.1-4ubuntu1
2.8.3-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnutclient2t64",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "libnutscan3",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "libups-nut-perl",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "libupsclient7",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-cgi",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-client",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-i2c",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-ipmi",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-modbus",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-monitor",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-powerman-pdu",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-server",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-snmp",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "nut-xml",
            "binary_version":  "2.8.3-2"
        },
        {
            "binary_name":  "python3-nut",
            "binary_version":  "2.8.3-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54161.json"

Ubuntu:26.10 / nut

Package

Name
nut
Purl
pkg:deb/ubuntu/nut?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.4+really-2
2.8.4+really-2ubuntu1
2.8.4+really-2.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnutclient2t64",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "libnutscan4",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "libups-nut-perl",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "libupsclient7",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-cgi",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-client",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-i2c",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-ipmi",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-modbus",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-monitor",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-powerman-pdu",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-server",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-snmp",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "nut-xml",
            "binary_version":  "2.8.4+really-2.1"
        },
        {
            "binary_name":  "python3-nut",
            "binary_version":  "2.8.4+really-2.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54161.json"

Ubuntu:26.04:LTS / nut

Package

Name
nut
Purl
pkg:deb/ubuntu/nut?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.3-2
2.8.4+really-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnutclient2t64",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "libnutscan4",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "libups-nut-perl",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "libupsclient7",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-cgi",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-client",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-i2c",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-ipmi",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-modbus",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-monitor",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-powerman-pdu",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-server",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-snmp",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "nut-xml",
            "binary_version":  "2.8.4+really-2"
        },
        {
            "binary_name":  "python3-nut",
            "binary_version":  "2.8.4+really-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54161.json"