{"id":"CVE-2026-42089","aliases":["GHSA-vv9j-gjw2-j8wp"],"url":"https://o3.security/vulnerability/CVE-2026-42089","summary":"yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation","details":"### Impact\n\n`yeoman-environment` versions `>= 2.9.0` and `< 6.0.1` install missing local generator packages from caller-supplied package names without user confirmation. In downstream consumers that pass attacker-controlled project configuration into this path, this can result in arbitrary package installation and code execution during CLI bootstrap.\n\nThe vulnerable method is `installLocalGenerators()`, which calls `repository.install()` directly without prompting the user.\n\n### Patches\n\nUpgrade to `yeoman-environment` `6.0.1`, which adds an interactive confirmation prompt before installation ([PR #753](https://github.com/yeoman/environment/pull/753)).\n\n### Workarounds\n\nNone.\n\n### Resources\n\n- [Fix commit 78d2af7](https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa)","published":"2026-06-16T16:15:04.499Z","modified":"2026-08-12T03:51:25.827723854Z","cvss":{"score":8.6,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},"epss":{"score":0.00172,"percentile":0.0695,"asOf":"2026-08-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"yeoman-environment","fixedVersion":"6.0.1"}],"fix":{"url":"https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa","label":"yeoman/environment@78d2af7"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42089.json"},{"type":"ADVISORY","url":"https://github.com/yeoman/environment/security/advisories/GHSA-vv9j-gjw2-j8wp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42089"},{"type":"FIX","url":"https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa"},{"type":"FIX","url":"https://github.com/yeoman/environment/pull/753"},{"type":"PACKAGE","url":"https://github.com/yeoman/environment"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:25.827723854Z"}}