Unrated
nut — security advisory
upsmon: remote OS command injection (RCE) via attacker-controlled ups.alarm in NOTIFYCMD execution
- Products
- nut
- Affected versions
- 2.8.1-4ubuntu1, 2.8.3-2, 2.8.4+really-2, 2.8.4+really-2.1, 2.8.4+really-2ubuntu1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54161
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:45 UTC · Revision 1
Source evidence
upsmon: remote OS command injection (RCE) via attacker-controlled ups.alarm in NOTIFYCMD execution
osv:UBUNTU-CVE-2026-54161
nut
Fixed versions: Not specified
nut
Fixed versions: Not specified
nut
Fixed versions: Not specified
Complete source record
{
"id": "c2235f99e2e67b0386531b61069ffdc1f1c647a2cfebbc631aff37ce6b411d76",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54161",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-54161",
"summary": "upsmon: remote OS command injection (RCE) via attacker-controlled ups.alarm in NOTIFYCMD execution",
"evidence": "osv:UBUNTU-CVE-2026-54161",
"products": [
{
"name": {
"value": "nut",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.8.1-4ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.8.3-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nut",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.8.4+really-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.8.4+really-2ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "2.8.4+really-2.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nut",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.8.3-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.8.4+really-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "UBUNTU-CVE-2026-54161",
"aliases": [
"UBUNTU-CVE-2026-54161"
],
"metrics": [
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nut",
"purl": "pkg:deb/ubuntu/nut?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.8.1-4ubuntu1",
"2.8.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54161.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nut",
"purl": "pkg:deb/ubuntu/nut?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.8.4+really-2",
"2.8.4+really-2ubuntu1",
"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"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nut",
"purl": "pkg:deb/ubuntu/nut?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.8.3-2",
"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"
},
"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"
}
]
}
}
],
"modified": "2026-10-17T12:59:02.983181895Z",
"provider": "osv",
"upstream": [
"CVE-2026-54161"
],
"references": [
"https://ubuntu.com/security/CVE-2026-54161",
"https://www.cve.org/CVERecord?id=CVE-2026-54161",
"https://github.com/networkupstools/nut/security/advisories/GHSA-mjgp-j4gm-6qg5"
]
},
"related_cves": [
{
"value": "CVE-2026-54161",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 359237,
"published_at": "2026-07-06T00:00:00+00:00"
}