{"id":"CVE-2026-35359","sourceIdentifier":"security@ubuntu.com","published":"2026-04-22T17:16:38.537","lastModified":"2026-06-17T10:40:27.437","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without the O_NOFOLLOW flag. An attacker with concurrent write access can swap a regular file for a symbolic link during this window, causing a privileged cp process to copy the contents of arbitrary sensitive files into a destination controlled by the attacker."}],"affected":[{"source":"security@ubuntu.com","affectedData":[{"vendor":"Uutils","product":"coreutils","defaultStatus":"affected","collectionURL":"https://github.com/uutils","packageName":"coreutils","platforms":["Linux","Unix","macOS"],"repo":"https://github.com/uutils/coreutils"}]}],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.0,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-22T17:50:51.990482Z","id":"CVE-2026-35359","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@ubuntu.com","type":"Secondary","description":[{"lang":"en","value":"CWE-59"},{"lang":"en","value":"CWE-367"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*","matchCriteriaId":"4A9AF9E4-E17C-48AD-8051-B49998618839"}]}]}],"references":[{"url":"https://github.com/uutils/coreutils/issues/10017","source":"security@ubuntu.com","tags":["Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/uutils/coreutils/issues/10017","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Issue Tracking","Vendor Advisory"]}]}