Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions crates/uu_chmod/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "uu_chmod"
date = "2026-04-22"
url = "https://github.com/uutils/coreutils/pull/10033"
# See https://docs.rs/rustsec/latest/rustsec/advisory/enum.Category.html
cvss = "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
keywords = ["filesystem"]
aliases = ["CVE-2026-35338"]

[affected]

[versions]
patched = [">= 0.6.0"]
```

# Bypass the --preserve-root safety mechanism

A vulnerability in the chmod utility of uutils coreutils allows users to
bypass the --preserve-root safety mechanism. The implementation only
validates if the target path is literally / and does not canonicalize the
path.

An attacker or accidental user can use path variants such as /../ or
symbolic links to execute destructive recursive operations (e.g.,
chmod -R 000) on the entire root filesystem, leading to system-wide
permission loss and potential complete system breakdown.