GHSA-8jhr-f77v-489fHighCVSS 7.3

NGINX Unit 1.29.0 through 1.35.0 and the FreeUnit fork before 1.37.2 contain an OS command...

Published
December 4, 2026
Last Modified
December 4, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (11)