8.6
HIGH CVSS 3.1
CVE-2026-42089
yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation
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.

INFO

Published Date :

June 16, 2026, 5:16 p.m.

Last Modified :

June 16, 2026, 5:35 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-42089 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update Yeoman Environment to version 6.0.0 or later to prevent arbitrary package installation and code execution.
  • Update Yeoman Environment to version 6.0.0 or later.
  • Verify that package installation requires user confirmation.
  • Review and sanitize caller-supplied package names.
  • Ensure local generator packages are installed securely.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-42089.

URL Resource
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
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-42089 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-42089 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-42089 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jun. 16, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
    Added CWE CWE-829
    Added Reference https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa
    Added Reference https://github.com/yeoman/environment/pull/753
    Added Reference https://github.com/yeoman/environment/security/advisories/GHSA-vv9j-gjw2-j8wp
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.