Unsafe Dependency Resolution Affecting yeoman-environment package, versions >=2.9.0 <6.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-YEOMANENVIRONMENT-17753983
  • published1 Jul 2026
  • disclosed26 May 2026
  • creditUnknown

Introduced: 26 May 2026

CVE-2026-42089  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade yeoman-environment to version 6.0.1 or higher.

Overview

yeoman-environment is a Handles the lifecyle and bootstrapping of generators in a specific environment

Affected versions of this package are vulnerable to Unsafe Dependency Resolution in the installLocalGenerators process. An attacker can achieve arbitrary code execution by supplying malicious package names that are installed without user confirmation during CLI bootstrap.

CVSS Base Scores

version 4.0
version 3.1