Live threats

All CVEs / yeoman

CVE-2026-42089yeoman environment

High 8.6

Priority
52
CVSS 3.1
8.6
EPSS
—
Auth required
Yes
Published
Jun 16, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-829
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for environment.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm yeoman-environment ≥ 2.9.0 < 6.0.1 6.0.1 npm install yeoman-environment@6.0.1

Per OSV / GitHub Advisories (GHSA-vv9j-gjw2-j8wp). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.