CVE-2026-42089: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in yeoman environment
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.
AI Analysis
Technical Summary
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.
CVE-2026-42089: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in yeoman 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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.