# CVE-2026-42089: yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-05-26T23:10:38.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-vv9j-gjw2-j8wp
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- yeoman environment: >= 2.9.0, < 6.0.1
- yeoman-environment (npm): from 2.9.0 before 6.0.1

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/yeoman/environment/security/advisories/GHSA-vv9j-gjw2-j8wp> (web)
- <https://github.com/yeoman/environment/pull/753> (web)
- <https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42089> (advisory)
- <https://github.com/yeoman/environment> (package)

## Sources

- CVE List: [CVE-2026-42089](https://www.cve.org/CVERecord?id=CVE-2026-42089), CVE Terms of Use, modified 2026-06-16
- GitHub Advisory Database: [GHSA-vv9j-gjw2-j8wp](https://github.com/advisories/GHSA-vv9j-gjw2-j8wp), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-42089](https://nvd.nist.gov/vuln/detail/CVE-2026-42089), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-42089 · Whole record: https://cve.day/CVE-2026-42089.json · Rebuilt by cve.day 2026-11-25T22:59:24.761Z
