{"id":"GHSA-9rv8-9hvg-92mq","summary":"chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)","details":"`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.\n\n**Fixed in 0.10.0** (PR #12566, commit 7cfc74e47ffab452663be6842d788a5164d9688b): recursive relabel resolution is anchored to the traversal dirfd.\n\n---\n_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`._","aliases":["CVE-2026-35376"],"modified":"2026-11-20T16:45:08.002405435Z","published":"2026-11-20T16:39:34Z","database_specific":{"github_reviewed_at":"2026-11-20T16:39:34Z","nvd_published_at":null,"cwe_ids":["CWE-367","CWE-59"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/uutils/coreutils/security/advisories/GHSA-9rv8-9hvg-92mq"},{"type":"WEB","url":"https://github.com/uutils/coreutils/pull/11402"},{"type":"WEB","url":"https://github.com/uutils/coreutils/commit/7cfc74e47ffab452663be6842d788a5164d9688b"},{"type":"PACKAGE","url":"https://github.com/uutils/coreutils"}],"affected":[{"package":{"name":"uu_chcon","ecosystem":"crates.io","purl":"pkg:cargo/uu_chcon"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-9rv8-9hvg-92mq/GHSA-9rv8-9hvg-92mq.json","last_known_affected_version_range":"\u003c= 0.9.0"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}