CVE 5.5 MEDIUM

uutils coreutils chown and chgrp False Success Exit Code in Recursive Mode_CVE-2026-35340

5.5 / 10
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

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.

Basic Information

ID CVE-2026-35340
Source canonical
Published Apr 22, 2026 at 16:07

Affected Product

Vendor Uutils
Product coreutils
Affected Versions Uutils coreutils 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.