{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-42089: yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-42089","status":"final","version":"1","initial_release_date":"2026-06-16T16:15:04.499Z","current_release_date":"2026-06-16T17:24:07.061Z","revision_history":[{"date":"2026-06-16T16:15:04.499Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-42089 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-42089"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-42089"},{"category":"external","summary":"https://github.com/yeoman/environment/security/advisories/GHSA-vv9j-gjw2-j8wp","url":"https://github.com/yeoman/environment/security/advisories/GHSA-vv9j-gjw2-j8wp"},{"category":"external","summary":"https://github.com/yeoman/environment/pull/753","url":"https://github.com/yeoman/environment/pull/753"},{"category":"external","summary":"https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa","url":"https://github.com/yeoman/environment/commit/78d2af7e60294784b8a8b3b3b5099c6874b6a1fa"}]},"product_tree":{"branches":[{"category":"vendor","name":"yeoman","branches":[{"category":"product_name","name":"environment","branches":[{"category":"product_version","name":">= 2.9.0, < 6.0.1","product":{"name":"yeoman environment >= 2.9.0, < 6.0.1","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:yeoman:environment:\\>\\=_2.9.0\\,_\\<_6.0.1:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-42089","title":"yeoman-environment Vulnerable to Arbitrary Package Installation without User Confirmation","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","baseScore":8.6,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}