CVE-2026-54161
published high CVSS 3.1 · 8.1upsmon: remote OS command injection (RCE) via attacker-controlled ups.alarm in NOTIFYCMD execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| networkupstools | — | nut>= 2.8.3, <= 2.8.5 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | nutaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nutppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nuts390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nutx86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclient2aarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclient2ppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclient2s390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
Show 45 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclient2x86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclientstub1aarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclientstub1ppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclientstub1s390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutclientstub1x86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutconf0aarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutconf0ppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutconf0s390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutconf0x86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutscan4aarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutscan4ppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutscan4s390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnutscan4x86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libupsclient7aarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libupsclient7ppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libupsclient7s390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libupsclient7x86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-cgiaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-cgippc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-cgis390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-cgix86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-develaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-develppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-devels390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-develx86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-devel-doc-htmlaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-devel-doc-htmlppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-devel-doc-htmls390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-devel-doc-htmlx86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-asciidocaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-asciidocppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-asciidocs390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-asciidocx86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-htmlaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-htmlppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-htmls390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-htmlx86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-imagesaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-imagesppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-imagess390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-doc-imagesx86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-drivers-netaarch64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-drivers-netppc64le | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-drivers-nets390x | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nut-drivers-netx86_64 | Advisory build | 2.8.5-2.1 | OPENSUSE-SU-2026:11367-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| networkupstools | nut | >= 2.8.3, <= 2.8.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
6- http://www.openwall.com/lists/oss-security/2026/07/01/10
- https://github.com/networkupstools/nut/commit/98e073d4cc31f9c73e2fa0c2677540487d902fe7
- https://github.com/networkupstools/nut/commit/dffba911504866695be698bb5ec49eac40d0f66a
- https://github.com/networkupstools/nut/commit/ecf98e7542e4ae2b62b211622ee26989274b2220
- https://github.com/networkupstools/nut/pull/3499
- https://github.com/networkupstools/nut/security/advisories/GHSA-mjgp-j4gm-6qg5
Provider assertions
3GitHub_M · cna
upsmon: remote OS command injection (RCE) via attacker-controlled ups.alarm in NOTIFYCMD execution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 039733ecfc9e313ff53f7e96d5da63d2259d4e8062514375c04bf6ed47f73700
- Ingested
- 03 Nov 2026, 22:46:05 UTC
- Source record
- Official CVE record