CVE-2026-35361

uutils coreutils mknod Security Label Inconsistency and Broken Cleanup on SELinux Systems

State
Published
Severity
3.4 Low
Published
Apr 22, 2026
Updated
Apr 22, 2026
Reserved
Apr 2, 2026

Read the record on cve.org

Description

The mknod utility in uutils coreutils fails to handle security labels atomically by creating device nodes before setting the SELinux context. If labeling fails, the utility attempts cleanup using std::fs::remove_dir, which cannot remove device nodes or FIFOs. This leaves mislabeled nodes behind with incorrect default contexts, potentially allowing unauthorized access to device nodes that should have been restricted by mandatory access controls.

Scores

CVSSScoreVectorSource
3.13.4 LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:Ncanonical

Weaknesses

  • CWE-281 Improper Preservation of Permissions
  • CWE-459 Incomplete Cleanup

Affected Products

ProductVersions
coreutilsUutils
  • before 0.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.