Duplicate Advisory: uutils coreutils incorrectly handles exit codes when processing multiple files
Affects coreutilsSource GCVE Database
CVSS 5.5 Medium : upgrade to 0.6.0 when convenient.
Data as of 7 Jul 2026, 12:28 UTC
- Patch
- Available – fixed in 0.6.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NWhat to do
Upgrade coreutils to 0.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iocoreutils | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-4x34-chg5-mwjj. This link is maintained to preserve external references. ### Original Description The recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of the last file processed. This allows the command to return an exit code of 0 (success) even if errors were encountered on previous files, such as 'Operation not permitted'. Scripts relying on these exit codes may proceed under a false sense of success while sensitive files remain with restrictive or incorrect permissions.
References
- nvd.nist.gov/vuln/detail/CVE-2026-35339 (opens in a new tab)
- github.com/uutils/coreutils/pull/9793 (opens in a new tab)
- github.com/uutils/coreutils/commit/abd581f62e97d0b147306ac40eac13af71c6fbba (opens in a new tab)
- github.com/uutils/coreutils (opens in a new tab)
- github.com/uutils/coreutils/releases/tag/0.6.0 (opens in a new tab)