High8.1Red Hat Linux
CVE-2026-54161: Red Hat Arbitrary command execution via unsanitized alarm notifications in upsmon
This Red Hat advisory covers CVE-2026-54161.
- CVE-2026-54161
Key facts
- Vendor rating
- High, CVSS 8.1
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H· base score 8.1, scored by GitHub_MAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- EPSS
- 0.64% chance of exploitation in the next 30 days (51st percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Fixed in
- 2.8.6
- Source published
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Related products & platforms
Red Hat LinuxUnclassified
Description
Arbitrary command execution via unsanitized alarm notifications in upsmon. Red Hat rates this important (CVSS 8.1).
Weakness: CWE-78.
Text from the source record.
How to fix CVE-2026-54161
Upgrade to a fixed release named by Red Hat:
- 2.8.6
Vendor guidance
- To mitigate this vulnerability, disable external command execution for alarm notifications in the upsmon configuration: 1. Edit `/etc/ups/upsmon.conf` and locate the `NOTIFYFLAG ALARM` directive. Ensure the `EXEC` flag is omitted (for example, configure `NOTIFYFLAG ALARM SYSLOG` or remove `EXEC` from any combined flags such as `NOTIFYFLAG ALARM SYSLOG+WALL`). Alternatively, unset or comment out the `NOTIFYCMD` directive if external notification scripts are not required. 2. Restart the monitoring daemon to apply the configuration change: ``` systemctl restart nut-monitor ``` Warning: Restarting the `nut-monitor` daemon temporarily interrupts active UPS monitoring until the service initializes. Caveats: Disabling the `EXEC` flag prevents upsmon from executing custom external scripts or handlers when an alarm event is triggered by a monitored device.
More Red Hat Linux advisories
CVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tagCVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-123158Nov 5, 2026Password authentication bypass via password hash misinterpretationCVE-2026-115731Nov 3, 2026authenticated remote code execution via report event deserializationCVE-2026-119977Oct 31, 2026Arbitrary code execution via predictable upgrade staging paths
Get an email when Red Hat publishes the next one.
See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.