Read the docs

Command injection in NGINX Unit setup-unit allows privilege escalation

Priority MEDIUM 46CWE-78Published · Updated

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

Fix Fixed FreeUnit (freeunitorg): 1.37.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
F5NGINX Unit1.29.0 – 1.35.0—No fix listedCNA
freeunitorgFreeUnit1.35.1 to before 1.37.21.37.2Patch availableCNA
  • 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

  1. 2026-12-03 Threatist record created from CVE-2026-144468
  2. 2026-12-04 Alias added: GHSA-8jhr-f77v-489f

References

  • 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
See all 1081 →

Sources