# CVE-2026-35340: uutils coreutils chown and chgrp False Success Exit Code in Recursive Mode

- Severity: Medium 5.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-04-22T16:07:36.708Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-253
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- coreutils: before 0.6.0
- uutils coreutils: before 0.6.0

## References

- <https://github.com/uutils/coreutils/pull/10035> (issue-tracking, patch)
- <https://github.com/uutils/coreutils/releases/tag/0.6.0> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2026-35340](https://www.cve.org/CVERecord?id=CVE-2026-35340), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-35340](https://nvd.nist.gov/vuln/detail/CVE-2026-35340), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35340 · Whole record: https://cve.day/CVE-2026-35340.json · Rebuilt by cve.day 2026-11-25T22:59:19.323Z
