{"cve":"CVE-2026-35339","nvd":{"published":"2026-04-22T17:16:35.767","modified":"2026-10-26T21:10:00.170","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5},"cwes":["CWE-253"],"references":["https://github.com/uutils/coreutils/pull/9793","https://github.com/uutils/coreutils/releases/tag/0.6.0"],"products":["uutils:coreutils"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-35339","score":0.00143,"percentile":0.03564,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-4x34-chg5-mwjj","url":"https://osv.dev/vulnerability/GHSA-4x34-chg5-mwjj","summary":"chmod: recursive mode returns exit code 0 even when some files fail (last-file-wins)","modified":"2026-07-06T19:41:24.785517Z","packages":[{"ecosystem":"crates.io","name":"uu_chmod","purl":"pkg:cargo/uu_chmod","ranges":["<0.6.0"],"fixed":["0.6.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}