NGINX Unit 1.29.0 through 1.35.0 and FreeUnit before 1.37.2 Local Privilege Escalation via setup-unit Spoofed unitd Process Title
- CVE-2026-144468
- GHSA-8jhr-f77v-489f
- EUVD-2026-143794
Description
NGINX Unit 1.29.0 through 1.35.0 and the FreeUnit fork before 1.37.2 contain an OS command injection vulnerability in the tools/setup-unit helper, where unit_cmd() takes the unitd command line from the bracketed text in the title of any process whose ps output contains 'unit: main', without checking who owns that process. unit_sock_find() and unit_ctl_welcome() run that text as a command, and from 1.31.0 unit_restart() passes it to eval. Local unprivileged users can start a process titled like the unitd main process, so that an administrator who runs setup-unit as root, for example 'setup-unit ctl' without -s, 'sock find' or 'restart', executes a program or shell commands chosen by the attacker as root.
Text from the CVE.org record.
Recommendation
freeunitorg FreeUnit
- If you run a version from 1.35.1 to before 1.37.2update to 1.37.2 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
F5 NGINX Unit
Affected versions Fixed in from 1.29.0 up to 1.35.0 none stated freeunitorg FreeUnit
Affected versions Fixed in from 1.35.1 to before 1.37.2 1.37.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.