{"id":"CVE-2026-42089","revision":"04f17e294e38452883b340a0c2df3817","records":[{"revision":"04f17e294e38452883b340a0c2df3817","observedAt":"2026-10-27T11:12:01.124+00:00","statement":{"source":"nvd","id":"CVE-2026-42089","aliases":[],"title":"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 wit…","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.","state":0,"publishedAt":"2026-06-16T17:16:40.74+00:00","modifiedAt":"2026-10-25T23:10:00.167+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"severity":"HIGH"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42089","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-829"],"productCriteria":[],"sourceDates":{"published":"2026-06-16T17:16:40.740","lastModified":"2026-10-25T23:10:00.167"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-42089","identifiers":["CVE-2026-42089"]},"retained":false,"historicalAffected":[]}],"coverage":[]}