{"id":"CVE-2026-106109","aliases":["CVE-2026-106109","GHSA-q9mq-245r-4g93"],"related":[],"kind":"vulnerability","state":"published","title":"Quasar Framework: App Vite build cleanup can recursively remove unsafe configured output directories","summary":"Quasar Framework is a framework for building high-performance Vue.js user interfaces. From 1.0.0 until 3.3.0, @quasar/app-vite recursively removed the resolved build.distDir before building without rejecting the project root, user home directory, filesystem roots, or symlink-resolved external directories. An unsafe trusted configuration can delete data writable by the build user before compilation begins. No attacker-controlled input reaches build.distDir by default, so exploitation requires compromised or less-trusted automation to influence build configuration, or a developer to run a mistaken configuration. This issue is fixed in version 3.3.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Quasar Framework is a framework for building high-performance Vue.js user interfaces. From 1.0.0 until 3.3.0, @quasar/app-vite recursively removed the resolved build.distDir before building without rejecting the project root, user home directory, filesystem roots, or symlink-resolved external directories. An unsafe trusted configuration can delete data writable by the build user before compilation begins. No attacker-controlled input reaches build.distDir by default, so exploitation requires compromised or less-trusted automation to influence build configuration, or a developer to run a mistaken configuration. This issue is fixed in version 3.3.0.","source":"cvelist"},{"lang":"en","text":"## Summary\n\n`@quasar/app-vite` recursively removes `build.distDir` before producing build artifacts. The configured path was made absolute, but it was not checked before removal. A configuration mistake could therefore target the project root, user home directory, a filesystem root, or another directory outside the project.\n\n## Details\n\nThe build command and mode builders passed the resolved output directory directly to `fs-extra` recursive removal. Existing symlink ancestors were not resolved before deletion either, so a path that appeared to be inside the project could operate on a directory outside it.\n\n`quasar.config` is trusted application code, and no attacker-controlled input reaches `build.distDir` by default. This issue is primarily destructive-build safety hardening. It can become a security boundary when build configuration is generated or influenced by less-trusted automation.\n\n## Impact\n\nRunning a normal Quasar build with an unsafe `build.distDir` can delete data accessible to the build user before compilation begins.\n\n## Remediation\n\nValidate the effective deletion target before every artifact cleanup. Always reject filesystem roots, the user home directory and the project root; resolve existing symlink ancestors; require an explicit `build.allowOutsideProjectDistDir` opt-in for external output directories; and log the exact resolved target before removal.","format":"markdown","source":"ghsa"}],"published":"2026-10-06T17:32:08.136Z","modified":"2026-10-07T16:30:06.349Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":4.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"version":">= 2.7.0, < 2.23.3","status":"affected"}],"vendor":"quasarframework","product":"quasar","source":"cvelist"},{"ranges":[{"version":">= 1.0.0, < 3.3.0","status":"affected"}],"vendor":"@quasar","product":"app-vite","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"3.3.0"}],"ecosystem":"npm","package":"@quasar/app-vite","purl":"pkg:npm/%40quasar/app-vite","source":"ghsa"}],"references":[{"url":"https://github.com/quasarframework/quasar/security/advisories/GHSA-q9mq-245r-4g93","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/quasarframework/quasar/commit/6c009734b406e246a0855ed060e3a822de8aecc1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/quasarframework/quasar/releases/tag/@quasar/app-vite-v3.3.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106109","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/quasarframework/quasar","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-06T19:43:25.036Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-106109","url":"https://www.cve.org/CVERecord?id=CVE-2026-106109","licence":"CVE Terms of Use","modified":"2026-10-06T19:43:35.076Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q9mq-245r-4g93","url":"https://github.com/advisories/GHSA-q9mq-245r-4g93","licence":"CC-BY-4.0","modified":"2026-10-07T16:30:06.349Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-106109","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106109","licence":"Public domain","modified":"2026-10-06T20:17:17.473Z"}],"updatedAt":"2026-11-25T22:59:42.386Z","epss":{"score":0.00126,"percentile":0.02423,"date":"2026-12-01T12:00:22.000Z"}}