CVE-2022-42717: Hashicorp Vagrant

High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.

An issue was discovered in Hashicorp Packer before 2.3.1. The recommended sudoers configuration for Vagrant on Linux is insecure. If the host has been configured according to this documentation, non-privileged users on the host can leverage a wildcard in the sudoers configuration to execute arbitrary commands as root.

Affected products

  • Hashicorp Vagrant: before 2.3.1 (fixed in 2.3.1)

Published 2022-10-11. Last modified 2026-06-17.