VulnWatch by ve1ve2
medium 4.5 EPSS 0.11%

GHSA-9rv8-9hvg-92mq: chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
uu_chcon

https://osv.dev/vulnerability/GHSA-9rv8-9hvg-92mq ↗

osvcrates.iofix-available

chcon: recursive relabel not anchored to traversal dirfd (TOCTOU) `chcon` resolved recursive targets from `fts_accpath` with a fresh path lookup, so traversal and the SELinux get/set were not bound to traversal directory state. A privileged recursive relabel can be redirected to unintended objects under rename/symlink races. Fix opens targets with `openat` against the traversal cwd fd before the SELinux operation. **Fixed in 0.10.0** (PR #12566, commit 7cfc74e47ffab452663be6842d788a5164d9688b): recursive relabel resolution is anchored to the traversal dirfd. --- _Zellic private finding (zellic-ext/coreutils-private PR #120). Reported in the Zellic *uutils coreutils Program Security Assessment* (for Canonical, Jan 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`._ Affected: crates.io:uu_chcon Fixed in: 0.10.0 References: https://github.com/uutils/coreutils/security/advisories/GHSA-9rv8-9hvg-92mq https://github.com/uutils/coreutils/pull/11402 https://github.com/uutils/coreutils/commit/7cfc74e47ffab452663be6842d788a5164d9688b https://github.com/uutils/coreutils

Linked vulnerabilities (2)

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)

CWE: CWE-59, CWE-367Aliases: CVE-2026-35376
CVE-2026-35376 medium 4.5 EPSS 0.11% (p1) NVDCVE.orgGHSA
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)

CWE: CWE-59, CWE-367Aliases: GHSA-9rv8-9hvg-92mq

Also reported by (1)