Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-42089
Published:May 27, 2026
Updated:June 13, 2026
Impact "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. The vulnerable method is "installLocalGenerators()", which calls "repository.install()" directly without prompting the user. Patches Upgrade to "yeoman-environment" "6.0.1", which adds an interactive confirmation prompt before installation ("PR #753" (https://github.com/yeoman/environment/pull/753)). Workarounds None. Resources - "Fix commit 78d2af7" (https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa)
Affected Packages
https://github.com/yeoman/environment.git (GITHUB):
Affected version(s) >=v2.9.0 <v6.0.1
Fix Suggestion:
Update to version v6.0.1
yeoman-environment (NPM):
Affected version(s) >=2.9.0 <6.0.1
Fix Suggestion:
Update to version 6.0.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.3
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.6
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Inclusion of Functionality from Untrusted Control Sphere
EPSS
Base Score:
0.01