Network UPS Toolsのupsmonに遠隔からOSコマンドを実行される脆弱性
Summary
UPSを監視するNetwork UPS Toolsのupsmonに、アラーム文字列を経由してOSコマンドを実行される脆弱性が見つかりました。2.8.3から2.8.5までの版が対象で、upsmonは通常root権限で動くため、影響は大きくなります。修正版の2.8.6で対応できるので、該当する版を使っている場合は早めに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
UPSを監視するNetwork UPS Toolsのupsmonに、アラーム文字列を経由してOSコマンドを実行される脆弱性が見つかりました。2.8.3から2.8.5までの版が対象で、upsmonは通常root権限で動くため、影響は大きくなります。修正版の2.8.6で対応できるので、該当する版を使っている場合は早めに更新してください。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-54161 nut No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-54161 nut No fixed version in this record
Original description The description as published by the source.
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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web openwall.com