CVE-2026-35361: uutils coreutils mknod Security Label Inconsistency and Broken Cleanup on SELinux Systems

Published Apr 22, 2026
·
Updated

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::removedir, 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.

Other sources

uutils calls mknod before setting the SELinux context (GNU uses setfscreatecon first, labeling atomically). If setselinuxsecuritycontext fails, cleanup uses std::fs::removedir, which cannot remove device nodes or FIFOs, leaving the mislabeled node behind.

Impact: on SELinux-enforcing systems the node is created with the wrong context; the command reports failure but leaves a mislabeled device node that may bypass mandatory access control, and orphaned nodes can persist across reboots. Recommendation: use setfscreatecon before mknod, abort on failure, and use removefile for cleanup.

Remediation: Acknowledged by Canonical.

--- Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.58. Credit: Zellic.

GitHub

Affected Software

3 affected componentsFixes available
uutils uutils coreutils
uutils Coreutils Rust<0.6.0
rust/uu_mknod<0.6.0
0.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/uu_mknod to a version that resolves this vulnerability.

    Fixed in 0.6.0

Event History

Apr 22, 2026
CVE Published
via MITRE·04:08 PM
Data Sourced
via MITRE·04:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 6, 2026
Advisory Published
via GitHub·09:54 PM
Data Sourced
via GitHub·09:54 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-35361?

The severity of CVE-2026-35361 is categorized as medium due to potential improper handling of security labels.

2

How do I fix CVE-2026-35361?

To fix CVE-2026-35361, update to the latest version of uutils coreutils which contains the necessary patch.

3

What systems are impacted by CVE-2026-35361?

CVE-2026-35361 affects systems running uutils coreutils with SELinux enabled.

4

What are the risks associated with CVE-2026-35361?

The risks associated with CVE-2026-35361 include the potential for incorrect security labels on device nodes, leading to unauthorized access.

5

Is there a workaround for CVE-2026-35361?

As a temporary workaround for CVE-2026-35361, avoid using the mknod utility until the software is updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203