Bug 2489315 (CVE-2026-42089) - CVE-2026-42089 yeoman-environment: Yeoman Environment: Arbitrary code execution via unconfirmed package installation
Summary: CVE-2026-42089 yeoman-environment: Yeoman Environment: Arbitrary code executi...
Keywords:
Status: NEW
Alias: CVE-2026-42089
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2491377 2491379
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-16 17:01 UTC by OSIDB Bzimport
Modified: 2026-06-22 14:26 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-16 17:01:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.