{"cve":"CVE-2026-42089","nvd":{"published":"2026-06-16T17:16:40.740","modified":"2026-10-25T23:10:00.167","status":"Deferred","description":"Yeoman Environment provides an API to discover, create, and run generators, and to configure where and how a generator is resolved. Versions 2.9.0 through 6.0.0 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. The vulnerable method is installLocalGenerators(), which calls repository.install() directly without prompting the user. This issue has been fixed in version 6.0.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6},"cwes":["CWE-829"],"references":["https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa","https://github.com/yeoman/environment/pull/753","https://github.com/yeoman/environment/security/advisories/GHSA-vv9j-gjw2-j8wp"],"products":[],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-42089","score":0.00172,"percentile":0.06588,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-vv9j-gjw2-j8wp","url":"https://osv.dev/vulnerability/GHSA-vv9j-gjw2-j8wp","summary":"yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation","modified":"2026-07-08T17:45:16.588278765Z","packages":[{"ecosystem":"npm","name":"yeoman-environment","purl":"pkg:npm/yeoman-environment","ranges":[">=2.9.0 <6.0.1"],"fixed":["6.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}