CVE-2026-35340 Details
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.
A vulnerability exists in the uutils coreutils 'chown' and 'chgrp' commands, specifically in the ChownExecutor component. During recursive operations, these utilities fail to return the correct exit code. The exit code reflects only the outcome of the last file processed, leading to potential security misconfigurations. If the final operation is successful, the command returns 0, even if previous ownership changes encountered permission errors. This issue can cause administrative scripts to mistakenly assume that ownership has been properly transferred across a directory.
Users can manually check the exit codes of 'chown' and 'chgrp' operations to ensure that ownership changes were applied correctly, especially when using recursive options. Additionally, be cautious when scripting file management tasks that involve ownership changes, and consider implementing checks that verify ownership adjustments were successful.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/uutils/coreutils/pull/10035 | [email protected] | Issue TrackingPatch |
| https://github.com/uutils/coreutils/releases/tag/0.6.0 | [email protected] | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-253 | Incorrect Check of Function Return Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| uutils coreutils | < 0.6.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 4, 2026 | Initial Analysis | [email protected] |
| Apr 22, 2026 | New CVE Received | [email protected] |