High severity7.3NVD Advisory· Published Dec 4, 2026
CVE-2026-144468
CVE-2026-144468
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.
Patches
Vulnerability mechanics
References
7- github.com/freeunitorg/freeunit/commit/4befc524e877cb2582d5f58e9eae4faabf9e4dd1nvd
- github.com/freeunitorg/freeunit/pull/947nvd
- github.com/freeunitorg/freeunit/releases/tag/1.37.2nvd
- github.com/freeunitorg/freeunit/security/advisories/GHSA-mcrf-v94r-p6fcnvd
- github.com/nginx/unit/blob/1.35.0/tools/setup-unitnvd
- github.com/nginx/unit/blob/1.35.0/tools/setup-unitnvd
- unit.nginx.org/news/nvd
News mentions
0No linked articles in our index yet.