Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-42089

Опубликовано: 16 июн. 2026
Источник: redhat
CVSS3: 8.2
EPSS Низкий

Описание

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.

A flaw was found in Yeoman Environment. This vulnerability allows an attacker to install arbitrary packages and execute code during command-line interface (CLI) bootstrap. This occurs because the software installs missing local generator packages from caller-supplied names without user confirmation, particularly when downstream consumers pass attacker-controlled project configurations. The primary impact is arbitrary code execution.

Отчет

This is an Important flaw in Yeoman Environment that could lead to arbitrary code execution. The vulnerability arises when downstream consumers process attacker-controlled project configurations, allowing the installation of unconfirmed local generator packages during CLI bootstrap. Exploitation requires user interaction with malicious input, limiting the attack vector to specific development workflows.

Меры по смягчению последствий

To mitigate this issue, users should avoid processing project configurations from untrusted sources with Yeoman Environment. Ensure that all project configurations and generator package names are from trusted origins to prevent the installation of arbitrary packages and subsequent code execution.

Дополнительная информация

Статус:

Important
Дефект:
CWE-426
https://bugzilla.redhat.com/show_bug.cgi?id=2489315yeoman-environment: Yeoman Environment: Arbitrary code execution via unconfirmed package installation

EPSS

Процентиль: 7%
0.00172
Низкий

8.2 High

CVSS3

Связанные уязвимости

CVSS3: 8.6
nvd
около 2 месяцев назад

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.

CVSS3: 8.6
github
3 месяца назад

yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation

EPSS

Процентиль: 7%
0.00172
Низкий

8.2 High

CVSS3