CVSS 3.1
8.6 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HHigh (8.6) in yeoman environment. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in yeoman-environment 6.0.1.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Hyeoman-environment (npm): fixed in 6.0.1Explain CVE-2026-42089 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42089?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42089?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42089 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| yeoman environment | >= 2.9.0, < 6.0.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vv9j-gjw2-j8wp | npm | yeoman-environment | >=2.9.0 <6.0.1 | 6.0.1 |
Red Hat rates this Important.
This is an Important flaw in Yeoman Environment that could lead to arbitrary code execution. The vulnerability arises when downstream consumers process attacker-controlled project configurations, allowing the installation of unconfirmed local generator packages during CLI bootstrap. Exploitation requires user interaction with malicious input, limiting the attack vector to specific development workflows.
To mitigate this issue, users should avoid processing project configurations from untrusted sources with Yeoman Environment. Ensure that all project configurations and generator package names are from trusted origins to prevent the installation of arbitrary packages and subsequent code execution.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42089.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).