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

- Severity: Low 3.4 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T16:08:30.756Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-r9hw-mj3w-phcq
- Weaknesses: CWE-281, CWE-459, CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- coreutils: before 0.6.0
- uu_mknod (crates.io): before 0.6.0
- uutils coreutils: before 0.6.0

## Every score

- canonical: CVSS:3.1 3.4 Low `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.4 Low `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## 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, vendor-advisory, 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)

## Sources

- CVE List: [CVE-2026-35361](https://www.cve.org/CVERecord?id=CVE-2026-35361), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-r9hw-mj3w-phcq](https://github.com/advisories/GHSA-r9hw-mj3w-phcq), CC-BY-4.0, modified 2026-07-06
- NVD: [CVE-2026-35361](https://nvd.nist.gov/vuln/detail/CVE-2026-35361), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35361 · Whole record: https://cve.day/CVE-2026-35361.json · Rebuilt by cve.day 2026-11-25T22:59:19.331Z
