ZeroHour

CVE-2026-78408

mass

File Descriptor Leak in util-linux nsenter --join-cgroup Enables Root Process Tampering

CVSS 3.1
7.9 high
EPSS
<1%p2
Published
()
Modified
AI analysis

util-linux's nsenter --join-cgroup option opens the target cgroup's cgroup.procs file as root and fails to close that descriptor across later namespace and credential changes and execve(), a classic missing-release file-descriptor flaw (CWE-775). The vulnerability is triggered when a privileged operator runs nsenter --join-cgroup against a target controlled by an attacker; the program launched inside that target inherits the descriptor opened with root credentials, allowing it to migrate host processes between cgroups. As a result, an unprivileged user can subsequently move and terminate unrelated root-owned processes, producing high integrity and availability impact with no confidentiality loss (CVSS 3.1 score 7.9, local attack with user interaction required). Any Linux system shipping a vulnerable nsenter with the --join-cgroup option is affected, most notably builds maintained under Red Hat's stewardship as the assigned CNA; exact version ranges were not provided in the source data. No public proof-of-concept is known, no exploitation has been reported in the wild, the flaw is not in CISA KEV, and EPSS estimates only about a 0.1% probability of exploitation in the next 30 days.

What to do: Track and apply the patched util-linux update from your distribution vendor (Red Hat, as the assigned CNA, will publish errata) as soon as a fixed release is announced, since no fixed version number is provided in the current data. Until patched, avoid running nsenter --join-cgroup against cgroups or targets controlled by unprivileged or untrusted users. Also audit recently launched processes for inherited descriptors from such invocations and check for unexpected migration or termination of root-owned processes across cgroups.

Affected
util-linux (upstream project; CNA: Red Hat) util-linux / nsenter (--join-cgroup option)
Estimated exposure
mass≈ tens of millions of Linux installations (util-linux is a default core package on virtually all distributions), though only a small fraction with the specific… — util-linux ships by default on essentially every Linux distribution, including Red Hat platforms per the CNA assignment, so the potentially affected installed base is on the order of tens of millions of systems, but actual exploitability…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The nsenter --join-cgroup option opens the target cgroup.procs file as root and leaves that file descriptor open across later namespace and credential changes and across execve(). Because the kernel checks later cgroup migrations using the credentials from the original open, a program run in an attacker-controlled target can inherit root's ability to move host processes between cgroups. After a privileged operator uses --join-cgroup against that target, an unprivileged user can migrate and terminate unrelated root processes.

Weakness
CWE-775
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H

In the news

No ingested article mentions this CVE yet.