Skip to main content
← All vulnerabilities
CVE-2026-42089GHSA-VV9J-GJW2-J8WP

yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.1
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • yeoman environment

    From 2.9.0 · fixed in 6.0.1

  • yeoman-environmentnpm

    From 2.9.0 · fixed in 6.0.1

References 4

GitHub · yeoman/environment

GitHub · 0xmrma/CVE-2026-42089