Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42089: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in yeoman environment

0
High
VulnerabilityCVE-2026-42089cvecve-2026-42089cwe-829
Published: Tue Jun 16 2026 (06/16/2026, 16:15:04 UTC)
Source: CVE Database V5
Vendor/Project: yeoman
Product: environment

Description

Yeoman Environment versions 2.9.0 through 6.0.0 contain a vulnerability where the installLocalGenerators() method installs missing local generator packages from caller-supplied package names without user confirmation. This can lead to arbitrary package installation and code execution during CLI bootstrap if attacker-controlled project configuration is passed. The issue is fixed in version 6.0.0.

CVSS v3.1

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected software

yeoman/environment
pkg:npm/yeoman/environment
Affected versions
>=2.9.0 <6.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/16/2026, 18:45:49 UTC

Technical Analysis

The Yeoman Environment API allows discovery, creation, and running of generators. Versions 2.9.0 through 6.0.0 are vulnerable because the installLocalGenerators() method calls repository.install() directly without prompting the user, installing packages based on caller-supplied names. This behavior enables an attacker who can control project configuration to cause arbitrary package installation and code execution during CLI bootstrap. The vulnerability is identified as CWE-829 (Inclusion of Functionality from Untrusted Control Sphere). The issue is resolved in version 6.0.0.

Potential Impact

An attacker able to supply project configuration to a vulnerable Yeoman Environment instance can trigger installation of arbitrary packages without user confirmation, leading to arbitrary code execution during CLI bootstrap. This can compromise confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-23T19:17:30.566Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3196650b89be688808a493

Added to database: 6/16/2026, 6:31:01 PM

Last enriched: 6/16/2026, 6:45:49 PM

Last updated: 6/16/2026, 7:57:06 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses