GHSA-vp6q-mv9j-j428
MEDIUM 5.5CVSS 3.1withdrawn / rejectedDuplicate Advisory: uutils coreutils incorrectly handles exit codes when processing multiple files
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | coreutils | < 0.6.0 | 0.6.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-35339 · ADVISORY
- https://github.com/uutils/coreutils/pull/9793 · WEB
- https://github.com/uutils/coreutils/commit/abd581f62e97d0b147306ac40eac13af71c6fbba · WEB
- https://github.com/uutils/coreutils · PACKAGE
- https://github.com/uutils/coreutils/releases/tag/0.6.0 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Apr 2026)