Vulnerability GHSA-9rv8-9hvg-92mq

Medium Risk
MEDIUM RISK
CVSS Score: 4.5
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
1 day ago
November 20, 2026 at 04:39 PM UTC
chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)
<0.10.0
<0.10.0

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.

Fixed in 0.10.0 (PR #12566, commit 7cfc74e47ffab452663be6842d788a5164d9688b): recursive relabel resolution is anchored to the traversal dirfd.

Impacted packages

Timeline

Published
1 day ago
November 20, 2026 at 04:39 PM UTC
Last Modified
1 day ago
November 20, 2026 at 04:45 PM UTC