All vulnerabilities

crates.io

CVE-2026-35376

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

Severity
Medium 4.5
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.10.0
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Time-of-check time-of-use race condition (CWE-367)Link following (CWE-59)
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Also known as
GHSA-9rv8-9hvg-92mq
Sources
OSV.dev and GitHub

Description

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

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
uu_chconcrates.io · osv:crates.io:uu_chcon
  • Every version before 0.10.0

About uu_chcon

Downloads in the last 90 days (crates.io)
507crates.io, 24 Nov 2026
Total downloads (crates.io)
26,494crates.io, 24 Nov 2026

This is the only vulnerability in uu_chcon in our list.

References