CVE-2026-42089
Deferred
Deferred - Pending Action
Remote Code Execution in Yeoman Environment
Publication date: 2026-06-16
Last updated on: 2026-06-16
Assigner: GitHub, Inc.
Description
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 Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| yeoman | yeoman | From 2.9.0 (inc) to 6.0.0 (inc) |
| yeoman | environment | 6.0.0 |
| yeoman | environment | From 2.9.0 (inc) to 6.0.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-829 | The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. |