CVE-2026-78408

Util-linux: util-linux: nsenter --join-cgroup leaks root cgroup migration authority

Published Sep 2, 2026 CVSS 3.1 · 7.9 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in util-linux’s nsenter --join-cgroup option causes the command to open a target process’s cgroup.procs file as root and keep that file descriptor open after the process switches namespaces or changes credentials and after execve. Because the kernel later validates cgroup migrations with the original root credentials, any program that runs inside the attacked namespace can inherit the ability to move host processes between cgroups, including terminating unrelated root processes.

Affected Systems

Red Hat Enterprise Linux 10, 7, 8, and 9; Red Hat Hardened Images; Red Hat OpenShift Container Platform 4. The bug exists in the util-linux package used by these systems, and the fix requires upgrading to util‑linux 2.41.6, 2.42.3 or later.

Risk and Exploitability

The CVSS score of 7.9 reflects a significant loss of integrity and possible availability impact for the affected systems. EPSS data is unavailable, so the exploitation probability is unknown, but the vulnerability’s nature—open file descriptor leakage combined with privileged credential checks—makes it a high‑risk scenario if the command is used against untrusted targets. The issue is not listed in CISA KEV, yet the impact merits immediate attention. The likely attack vector involves an attacker who can trigger a privileged operator to run nsenter --join-cgroup on a process they can influence, or who gains control of a process after the nsenter call has been executed.

Remediation

Vendor Workaround

Upgrade to util-linux v2.41.6, v2.42.3, or later. Until a fix is applied, do not run nsenter --join-cgroup (including nsenter --target PID --all --join-cgroup) against untrusted processes or namespaces. The fix closes the cgroup.procs descriptor immediately after joining, and opens it with O_CLOEXEC.


OpenCVE Recommended Actions

  • Upgrade util‑linux to version 2.41.6, 2.42.3, or later.
  • Avoid running nsenter --join‑cgroup against untrusted processes or namespaces until a fix is applied.
  • Restrict nsenter usage through container isolation or enforce strict SELinux/AppArmor policies to limit privileged access.

Generated by OpenCVE AI on September 3, 2026 at 11:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat cost Management On Premise
CPEs cpe:/a:redhat:cost_management_on_premise:1::el10
Vendors & Products Redhat cost Management On Premise
References
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Linux
Linux util-linux
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Linux
Linux util-linux
Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
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.
Title Util-linux: util-linux: nsenter --join-cgroup leaks root cgroup migration authority
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-775
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 7.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H'}

Weaknesses
  • CWE-775

    Missing Release of File Descriptor or Handle after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 23, 2026, 3:53 PM
Reserved
Aug 24, 2026, 2:40 PM
Status
Awaiting Analysis
Published
Sep 2, 2026, 4:17 PM
Modified
Nov 23, 2026, 4:17 PM
Severity
Important
Public date
Sep 2, 2026, 12:00 AM