Skip to main content
VulnerabilityPublished

CVE-2026-42089: yeoman environment · Untrusted Functionality Inclusion

Affects yeoman environmentSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.6 High : upgrade to 6.0.1 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.0.1, 6.0.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade environment to 6.0.1; yeoman/environment to 6.0.0.

Affected software

ProductAffectedFixed in
yeomanenvironmentAffected
  • >=2.9.0 <6.0.1
Fixed in
  • 6.0.1
npmyeoman/environmentpkg:npm/yeoman/environmentOther threatsAffected
  • >=2.9.0 <6.0.0
Fixed in
  • 6.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Yeoman Environment to version 6.0.0 or later, where this issue is fixed. There is no indication of alternative mitigations or temporary fixes. Patch status is confirmed fixed in 6.0.0.

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.

References

Community reviews

Loading reviews…