CVE-2026-35361
MEDIUM 4.4CVSS 3.1mknod: Device nodes created mislabeled on SELinux, with broken cleanup (remove_dir on a node)
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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-281CWE-459CWE-732
- Also known as
- GHSA-r9hw-mj3w-phcq
- Sources
- NVDJSONOSV GHSA-r9hw-mj3w-phcqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | LOW 3.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uutils | coreutilscpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:* |
< 0.6.0 | 0.6.0 |
| OSV | crates.io | uu_mknod | < 0.6.0 | 0.6.0 |
References
- https://github.com/uutils/coreutils/pull/10582 · Exploit, Issue Tracking, Patch, WEB
- https://github.com/uutils/coreutils/releases/tag/0.6.0 · Release Notes, WEB
- https://github.com/uutils/coreutils/security/advisories/GHSA-r9hw-mj3w-phcq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35361 · ADVISORY
- https://github.com/uutils/coreutils/commit/42b2ad83cdcf6e959ecb378c5040c60d9c64becf · WEB
- https://github.com/uutils/coreutils · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)