{"id":"EUVD-2026-24971","enisaUuid":"0b67a3cd-d3b5-32fb-a641-6e99fb32c933","description":"The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.","datePublished":"Apr 22, 2026, 4:07:41 PM","dateUpdated":"Apr 22, 2026, 6:15:53 PM","baseScore":3.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/uutils/coreutils/pull/10566\nhttps://github.com/uutils/coreutils/releases/tag/0.6.0\n","aliases":"CVE-2026-35342\nGHSA-2w8r-9xj7-69j5\n","assigner":"canonical","epss":0.13,"enisaIdProduct":[{"id":"e8c71a19-10bd-3b75-b789-27812b85fac8","product":{"name":"coreutils","vendor":{"name":"Uutils"}},"product_version":"0 \u003c0.6.0"}],"enisaIdVendor":[{"id":"72ac7cb7-3675-38e4-a30b-792078050905","vendor":{"name":"Uutils"}}],"enisaIdVulnerability":[{"id":"3a2f85ba-46fb-30bd-8d98-437d6f113d5e","vulnerability":{"id":"GHSA-2w8r-9xj7-69j5","description":"mktemp: empty TMPDIR creates temp files in CWD instead of /tmp","datePublished":"Jul 6, 2026, 7:50:41 PM","dateUpdated":"Jul 6, 2026, 7:50:41 PM","baseScore":0.0,"references":"https://github.com/uutils/coreutils/security/advisories/GHSA-2w8r-9xj7-69j5\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-35342\nhttps://github.com/uutils/coreutils/pull/10566\nhttps://github.com/uutils/coreutils/commit/eb25ec328b226d8fbbaa4058bf9187165bf06d51\nhttps://github.com/uutils/coreutils\nhttps://github.com/uutils/coreutils/releases/tag/0.6.0\n","enisa_id":"EUVD-2026-24971\n","aliases":"CVE-2026-35342\nGHSA-2w8r-9xj7-69j5\n","epss":0.0,"dataProcessed":"Oct 25, 2026, 1:57:47 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"7132c087-c863-39f1-9459-e4afc82ab8bb","vulnerability":{"id":"CVE-2026-35342","description":"The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.","datePublished":"Apr 22, 2026, 4:07:41 PM","dateUpdated":"Apr 22, 2026, 6:15:53 PM","status":"PUBLISHED","baseScore":3.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/uutils/coreutils/pull/10566\nhttps://github.com/uutils/coreutils/releases/tag/0.6.0\n","enisa_id":"EUVD-2026-24971\n","assigner":"canonical","epss":0.13,"dataProcessed":"Oct 27, 2026, 7:19:10 AM","vulnerabilityProduct":[{"id":"01b35007-41d9-3b4a-b2a8-4190c6c1dbc8","product":{"name":"coreutils","vendor":{"name":"Uutils"}},"product_version":"0 \u003c0.6.0"}],"vulnerabilityVendor":[{"id":"f2b77aca-be0e-38c8-9fc8-f7790fbdc9f6","vendor":{"name":"Uutils"}}]}},{"id":"b2cd77a2-3f06-11f1-8640-7ced8d12c988","vulnerability":{"id":"GHSA-2cxp-xq3c-mjxx","description":"Duplicate Advisory: uutils coreutils\u0027 mktemp utility doesn\u0027t properly handle an empty TMPDIR environment variable","datePublished":"Apr 22, 2026, 6:31:44 PM","dateUpdated":"Jul 6, 2026, 7:50:32 PM","baseScore":0.0,"references":"https://nvd.nist.gov/vuln/detail/CVE-2026-35342\nhttps://github.com/uutils/coreutils/pull/10566\nhttps://github.com/uutils/coreutils/commit/eb25ec328b226d8fbbaa4058bf9187165bf06d51\nhttps://github.com/uutils/coreutils\nhttps://github.com/uutils/coreutils/releases/tag/0.6.0\n","enisa_id":"EUVD-2026-24971\n","aliases":"GHSA-2cxp-xq3c-mjxx\n","epss":0.0,"dataProcessed":"Oct 25, 2026, 1:55:10 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}