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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/freeunitorg/freeunit
- https://github.com/freeunitorg/freeunit/commit/4befc524e877cb2582d5f58e9eae4faabf9e4dd1
- https://github.com/freeunitorg/freeunit/pull/947
- https://github.com/freeunitorg/freeunit/releases/tag/1.37.2
- https://github.com/freeunitorg/freeunit/security/advisories/GHSA-mcrf-v94r-p6fc
- https://github.com/nginx/unit
- https://github.com/nginx/unit/blob/1.35.0/tools/setup-unit#L1337-L1396
- https://github.com/nginx/unit/blob/1.35.0/tools/setup-unit#L203-L223
- https://unit.nginx.org/news/
CWEs
CWE-78
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.