{"id":"CVE-2026-35339","published":"2026-04-22T16:07:33Z","modified":"2026-04-22T18:13:40Z","title":"uutils coreutils chmod False Success Exit Code in Recursive Mode","vendor":"Uutils","product":"coreutils","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00148,"percentile":0.0411,"provenance":"source"},"cwes":[{"id":"CWE-253","name":"Incorrect Check of Function Return Value"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/9793","tags":["patch","issue-tracking"]},{"url":"https://github.com/uutils/coreutils/releases/tag/0.6.0","tags":["vendor-advisory"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":0.82},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"uutils","affectedVersions":[{"vendor":"Uutils","product":"coreutils","versions":["< 0.6.0"]}],"capec":[{"id":"CAPEC-184","name":"Software Integrity Attack"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-22T18:13:28.800322Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"uu_chmod","vulnerableRanges":["<0.6.0"],"patched":["0.6.0"],"from":["GHSA-4x34-chg5-mwjj"],"provenance":"source"}],"summary":{"text":"The uutils coreutils implementation of the chmod utility, in its recursive mode (-R), returns an exit code based only on the last file it processes, so earlier failures are hidden. A local user with low privileges and no user interaction can exploit this by running recursive chmod across multiple files, causing scripts that rely on the exit code to continue as if the operation succeeded while some files keep incorrect or restrictive permissions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:01Z"},"euvd":{"id":"EUVD-2026-24965","exploited":false,"provenance":"source"}}