MEDIUM · CVSS 3.1 4.5 EPSS 0.2% · 3th percentile CWE-367CWE-59

CVE-2026-35376: chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)

Published 2026-11-20 · Updated 2026-11-20 · Also known as GHSA-9rv8-9hvg-92mq

Summary

A time-of-check to time-of-use (TOCTOU) race condition exists in the uu_chcon crate where recursive relabel targets are resolved without anchoring to the traversal dirfd. Engineering and security teams using the affected uu_chcon package must update to version 0.10.0.

Who is affected

During a privileged recursive relabel operation, an attacker can exploit rename or symlink races to redirect operations to unintended objects. This requires local access with low privileges and high attack complexity, potentially leading to low confidentiality, integrity, and availability impacts.

Exploitability

The vulnerability requires local access with high attack complexity and low privileges, with no user interaction needed. The current EPSS score is 0.001 (0.013th percentile) and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-20. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io uu_chcon >= 0, < 0.10.0 0.10.0 cargo update -p uu_chcon --precise 0.10.0

CVSS 3.1 vector

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

Attack vectorLocal
Attack complexityHigh
Privileges requiredLow
User interactionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow

FAQ

What is the affected package and fixed version?

The affected package is crates.io uu_chcon, and it is fixed in version 0.10.0.

Is there any active exploitation of CVE-2026-35376?

No, CISA Known Exploited Vulnerabilities tracking indicates no active exploitation is documented.

What kind of vulnerability is this?

It is a time-of-check to time-of-use (TOCTOU) race condition mapped to CWE-367 and CWE-59.

Original advisory 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`._

References

Source records: GHSA-9rv8-9hvg-92mq (OSV.dev) · EPSS by FIRST, 2026-11-26.