{"id":"CVE-2026-35341","revision":null,"records":[{"revision":"cf42b7f74b3f4156b2af6b8f92a9be08","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-35341","aliases":[],"title":"uutils coreutils mkfifo Unauthorized Permission Change on Existing Files","description":"A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files. When mkfifo fails to create a FIFO because a file already exists at the target path, it fails to terminate the operation for that path and continues to execute a follow-up set_permissions call. This results in the existing file's permissions being changed to the default mode (often 644 after umask), potentially exposing sensitive files such as SSH private keys to other users on the system.","state":0,"publishedAt":"2026-04-22T16:07:39.221+00:00","modifiedAt":"2026-04-24T13:43:36.473+00:00","affected":[{"ecosystem":"https://github.com/uutils","name":"coreutils","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Uutils\",\n                    \"product\": \"coreutils\",\n                    \"platforms\": [\n                        \"Linux\",\n                        \"Unix\",\n                        \"macOS\"\n                    ],\n                    \"collectionURL\": \"https://github.com/uutils\",\n                    \"packageName\": \"coreutils\",\n                    \"repo\": \"https://github.com/uutils/coreutils\",\n                    \"defaultStatus\": \"affected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"severity":"HIGH"}],"references":["https://github.com/uutils/coreutils/issues/10020"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-35341","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-35341","identifiers":["CVE-2026-35341"]},"retained":false,"historicalAffected":[]},{"revision":"e2204ee690ff42b796455a282a1a9576","observedAt":"2026-11-01T06:08:33.239+00:00","statement":{"source":"euvd","id":"EUVD-2026-24969","aliases":["CVE-2026-35341","GHSA-pmf6-rcx4-v53v"],"title":"A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files. When mkfifo fails to create a FIFO because a file already exists at the target path, it fails to terminate the operation f…","description":"A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files. When mkfifo fails to create a FIFO because a file already exists at the target path, it fails to terminate the operation for that path and continues to execute a follow-up set_permissions call. This results in the existing file's permissions being changed to the default mode (often 644 after umask), potentially exposing sensitive files such as SSH private keys to other users on the system.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"severity":null}],"references":["https://github.com/uutils/coreutils/issues/10020"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-24969","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 22, 2026, 4:07:39 PM","dateUpdated":"Apr 24, 2026, 1:43:36 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-24969","identifiers":["EUVD-2026-24969","CVE-2026-35341","GHSA-pmf6-rcx4-v53v"]},"retained":false,"historicalAffected":[]},{"revision":"7330ee255b434c81a4d9449142288b59","observedAt":"2026-10-27T09:03:12.132+00:00","statement":{"source":"nvd","id":"CVE-2026-35341","aliases":[],"title":"A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files. When mkfifo fails to create a FIFO because a file already exists at the target path, it fails to terminate the operation f…","description":"A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files. When mkfifo fails to create a FIFO because a file already exists at the target path, it fails to terminate the operation for that path and continues to execute a follow-up set_permissions call. This results in the existing file's permissions being changed to the default mode (often 644 after umask), potentially exposing sensitive files such as SSH private keys to other users on the system.","state":0,"publishedAt":"2026-04-22T17:16:36.06+00:00","modifiedAt":"2026-10-26T22:10:00.163+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security@ubuntu.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"severity":"HIGH"}],"references":["https://github.com/uutils/coreutils/issues/10020"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-35341","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-732"],"productCriteria":["cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*"],"sourceDates":{"published":"2026-04-22T17:16:36.060","lastModified":"2026-10-26T22:10:00.163"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-35341","identifiers":["CVE-2026-35341"]},"retained":false,"historicalAffected":[]},{"revision":"836d24cc7e984cbda6e8eb3759735ed9","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-pmf6-rcx4-v53v","aliases":["CVE-2026-35341"],"title":"mkfifo: permissions of an existing file are changed after FIFO creation fails","description":"When `mkfifo()` fails (e.g. target already exists), the code shows an error but is missing a `continue;`, so it falls through to `fs::set_permissions` and changes the permissions of the pre-existing file to the default FIFO mode (`0o666` & umask -> `0644`).\n\n```\n$ touch secret; chmod 000 secret\n$ coreutils mkfifo secret fifo3 fifo4\nmkfifo: cannot create fifo 'secret': File exists\n$ ll secret      # uutils:\nprw-r--r-- secret   # changed to 644 (GNU leaves it 000)\n```\n\n**Impact:** an attacker (or user error) can relax permissions on sensitive owner-only files such as SSH private keys, exposing them to other users. Recommendation: add `continue;` after the error.\n\n**Remediation:** Acknowledged by Canonical; fixed in PR #10376.\n\n---\n_Reported by Zellic in the *uutils coreutils Program Security Assessment* (prepared for Canonical, Jan 20 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`. Finding 3.8. Credit: Zellic._\n\n_Upstream tracking issue: https://github.com/uutils/coreutils/issues/10020 · CVE-2026-35341_","state":0,"publishedAt":"2026-07-06T21:53:34+00:00","modifiedAt":"2026-07-06T22:11:26.860551+00:00","affected":[{"ecosystem":"crates.io","name":"uu_mkfifo","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.6.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/uutils/coreutils/security/advisories/GHSA-pmf6-rcx4-v53v","https://nvd.nist.gov/vuln/detail/CVE-2026-35341","https://github.com/uutils/coreutils/issues/10020","https://github.com/uutils/coreutils/pull/10376","https://github.com/uutils/coreutils"],"sourceUrl":"https://github.com/advisories/GHSA-pmf6-rcx4-v53v","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pmf6-rcx4-v53v","identifiers":["GHSA-pmf6-rcx4-v53v","CVE-2026-35341"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-01T12:57:31.5232399+00:00","complete":true,"records":1766,"lastAttemptAt":"2026-11-01T12:57:31.5232399+00:00","lastSuccessAt":"2026-11-01T12:57:31.8395574+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:31.8395578+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-aece262bb10a694367a43c24d730aa8e8dc171723eaec4c15cdd32f04bda103f-471736e31343e0c0afc7366c45e1a3107acc6b439a48ca11b72cbe4d43b3d388","complete":true,"records":417647,"lastAttemptAt":"2026-11-01T12:57:30.9928372+00:00","lastSuccessAt":"2026-11-01T12:57:30.9655372+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:30.9928372+00:00","snapshotPublishedAt":"2026-11-01T12:28:49+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0122883879ee4ffd95fc877778bc26eb","complete":false,"records":13568,"lastAttemptAt":"2026-11-01T13:08:24.0875242+00:00","lastSuccessAt":"2026-11-01T13:08:24.081+00:00","error":null,"lastVerifiedAt":"2026-11-01T13:08:24.081+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13443,"expectedIdentifiers":13637,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-01T12:57:31.5232399+00:00","complete":true,"records":1095,"lastAttemptAt":"2026-11-01T12:57:31.5232399+00:00","lastSuccessAt":"2026-11-01T12:57:31.8407244+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:31.8407247+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ad1593b4990d4e0aaa9eed9da3dc7066","complete":true,"records":13580,"lastAttemptAt":"2026-11-01T12:57:34.8715442+00:00","lastSuccessAt":"2026-11-01T12:57:34.867+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:34.867+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13637,"expectedIdentifiers":13637,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-21dcd6662970dfea02e4ea60ee637115e8d92664947484d2b9276b3f6568a84f","complete":true,"records":9815,"lastAttemptAt":"2026-11-01T12:57:31.4097435+00:00","lastSuccessAt":"2026-10-30T23:47:34.1817587+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:31.4097435+00:00","snapshotPublishedAt":"2026-10-30T23:33:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-2de9ccc5290f060c7aa63f89c25dd76f655a64ba1aba7c05c97fa3bee4f09899","complete":true,"records":1967,"lastAttemptAt":"2026-11-01T12:57:31.1512045+00:00","lastSuccessAt":"2026-10-28T20:55:34.2982937+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:31.1512045+00:00","snapshotPublishedAt":"2026-10-28T20:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-f95f76cd406ae5bae3de632ad37fd2d5160b44f5e6b51748ac6f8f0c0c88e72b","complete":true,"records":3028,"lastAttemptAt":"2026-11-01T12:57:31.4290769+00:00","lastSuccessAt":"2026-10-30T23:47:38.4914494+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:31.4290769+00:00","snapshotPublishedAt":"2026-10-30T23:18:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-55acacd40a7aab88cf530cfddf98233a5d800cfc6bb1883653ecf5bee50f4426","complete":true,"records":230996,"lastAttemptAt":"2026-11-01T12:57:31.2569981+00:00","lastSuccessAt":"2026-11-01T09:06:49.6961926+00:00","error":null,"lastVerifiedAt":"2026-11-01T12:57:31.2569981+00:00","snapshotPublishedAt":"2026-11-01T08:33:39+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}