Command injection in NGINX Unit setup-unit allows privilege escalation
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
NGINX Unit from 1.29.0 through 1.35.0 and FreeUnit from 1.35.1 before 1.37.2 are affected. The tools/setup-unit helper runs an OS command built from the title of any process that looks like the unitd main process, without checking who owns that process (CWE-78). A local user with low privileges can run commands as root when an administrator runs setup-unit as root with certain commands.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| F5 | NGINX Unit | 1.29.0 – 1.35.0 | — | No fix listed | CNA |
| freeunitorg | FreeUnit | 1.35.1 to before 1.37.2 | 1.37.2 | Patch available | CNA |
- NGINX Unit VendorF5 Affected 1.29.0 – 1.35.0 Fixed in — No fix listed CNA
- FreeUnit Vendorfreeunitorg Affected 1.35.1 to before 1.37.2 Fixed in 1.37.2 Patch available CNA
Remediation
Upgrade FreeUnit to 1.37.2. The sources list no fixed version for NGINX Unit.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA FreeUnit (freeunitorg) Fixed in 1.37.2
Timeline
- 2026-12-03 Threatist record created from CVE-2026-144468
- 2026-12-04 Alias added: GHSA-8jhr-f77v-489f
References
Other 9
- https://github.com/freeunitorg/freeunit/security/advisories/GHSA-mcrf-v94r-p6fc
- 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/nginx/unit/blob/1.35.0/tools/setup-unit#L203-L223
- https://github.com/nginx/unit/blob/1.35.0/tools/setup-unit#L1337-L1396
- https://unit.nginx.org/news/
- https://github.com/nginx/unit
- https://github.com/freeunitorg/freeunit
More F5 vulnerabilities
- TI-2023-25230 Authentication bypass in F5 BIG-IP Configuration utility KEVCVSS 3.1CRITICAL 9.8
- TI-2022-01269 Authentication bypass in F5 BIG-IP iControl REST KEVCVSS 3.1CRITICAL 9.8
- TI-2021-05850 Buffer overflow in BIG-IP TMM URI normalization KEVCVSS 3.1CRITICAL 9.8
- TI-2021-05845 Unauthenticated remote command execution in BIG-IP iControl REST KEVCVSS 3.1CRITICAL 9.8
- TI-2020-04820 Remote code execution in BIG-IP Traffic Management User Interface KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash environment variable parsing flaw lets attackers write files KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-144468 · CVE Program
- CVE-2026-144468 · NVD
- GHSA-8jhr-f77v-489f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences