Vulnerability · Published Apr 22, 2026 · Assigned by canonical
CVE-2026-35340uutils coreutils chown and chgrp False Success Exit Code in Recursive Mode
Medium 5.5
In plain English
A medium-severity security flaw in coreutils from Uutils. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw in the ChownExecutor used by uutils coreutils chown and chgrp causes the utilities to return an incorrect exit code during recursive operations. The final exit code is determined only by the last file processed. If the last operation succeeds, the command returns 0 even if earlier ownership or group changes failed due to permission errors. This can lead to security misconfigurations where administrative scripts incorrectly assume that ownership has been successfully transferred across a directory tree.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-coreutils | no fix listed | DEBIAN-CVE-2026-35340 |
| Debian:13 | rust-coreutils | no fix listed | DEBIAN-CVE-2026-35340 |
| Debian:14 | rust-coreutils | 0.6.0-1 | DEBIAN-CVE-2026-35340 |
| Ubuntu:24.04:LTS | rust-coreutils | no fix listed | UBUNTU-CVE-2026-35340 |
| Ubuntu:25.10 | rust-coreutils | no fix listed | UBUNTU-CVE-2026-35340 |
Affected products (as reported)
Weakness: CWE-253 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/uutils/coreutils/pull/10035 patch, issue-tracking
- https://github.com/uutils/coreutils/releases/tag/0.6.0 vendor-advisory