{"id":"CVE-2026-119291","state":"PUBLISHED","title":"zuke setup and zuke import follow symbolic links planted at scaffold names, allowing writes outside the target directory","description":"Zuke is a code-first, strongly typed build automation system for Deno. Prior to 1.4.0, @zuke/cli uses lstat to inspect scaffold names but then performs link-following reads, writes, and permission changes in zuke setup and zuke import. An attacker who supplies an untrusted cloned repository, template, or archive with a symbolic link at a scaffolded name can cause setup to overwrite a target outside the selected directory with the invoking user's permissions. The .gitignore path requires no flag, while --force permits a linked launcher target to be written and made executable; import can also read link-target content and incorporate it into the generated build file. This issue is fixed in version 1.4.0.","publishedAt":"2026-10-30T15:52:01.029Z","updatedAt":"2026-10-30T15:52:01.029Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["zuke-build zuke"],"affected":[{"vendor":"zuke-build","product":"zuke","versions":[{"version":"< 1.4.0","status":"affected"}]}],"references":["https://github.com/zuke-build/zuke/security/advisories/GHSA-hc8w-3fgv-22pw","https://github.com/zuke-build/zuke/pull/542","https://github.com/zuke-build/zuke/commit/4257b0bc5ef5e387a44f913349646d4baccd1654","https://github.com/zuke-build/zuke/releases/tag/cli-v1.4.0"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-30T15:58:06.618Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119291.json","commit":"2b1b837cd89354d9c9a57d56e0640dc825b19235","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119291","state":"PUBLISHED","datePublished":"2026-10-30T15:52:01.029Z","dateUpdated":"2026-10-30T15:52:01.029Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-29T18:50:28.065Z"},"containers":{"cna":{"title":"zuke setup and zuke import follow symbolic links planted at scaffold names, allowing writes outside the target directory","descriptions":[{"lang":"en","value":"Zuke is a code-first, strongly typed build automation system for Deno. Prior to 1.4.0, @zuke/cli uses lstat to inspect scaffold names but then performs link-following reads, writes, and permission changes in zuke setup and zuke import. An attacker who supplies an untrusted cloned repository, template, or archive with a symbolic link at a scaffolded name can cause setup to overwrite a target outside the selected directory with the invoking user's permissions. The .gitignore path requires no flag, while --force permits a linked launcher target to be written and made executable; import can also read link-target content and incorporate it into the generated build file. This issue is fixed in version 1.4.0."}],"affected":[{"vendor":"zuke-build","product":"zuke","versions":[{"version":"< 1.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/zuke-build/zuke/security/advisories/GHSA-hc8w-3fgv-22pw","name":"https://github.com/zuke-build/zuke/security/advisories/GHSA-hc8w-3fgv-22pw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zuke-build/zuke/pull/542","name":"https://github.com/zuke-build/zuke/pull/542","tags":["x_refsource_MISC"]},{"url":"https://github.com/zuke-build/zuke/commit/4257b0bc5ef5e387a44f913349646d4baccd1654","name":"https://github.com/zuke-build/zuke/commit/4257b0bc5ef5e387a44f913349646d4baccd1654","tags":["x_refsource_MISC"]},{"url":"https://github.com/zuke-build/zuke/releases/tag/cli-v1.4.0","name":"https://github.com/zuke-build/zuke/releases/tag/cli-v1.4.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T15:52:01.029Z"},"source":{"advisory":"GHSA-hc8w-3fgv-22pw","discovery":"UNKNOWN"}}}}}