CVE-2026-42089: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in yeoman environment
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.
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 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.
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: 06/16/2026, 18:31:01 UTC
Last enriched: 06/16/2026, 18:45:49 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 56
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.