U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2025-34075

Change History

New CVE Received from VulnCheck 7/02/2025 4:15:29 PM

Action Type Old Value New Value
Added Description

								
							
							
						
An authenticated virtual machine escape vulnerability exists in HashiCorp Vagrant when using the default synced folder configuration. By design, Vagrant automatically mounts the host system’s project directory into the guest VM under /vagrant (or C:\vagrant on Windows). This includes the Vagrantfile configuration file, which is a Ruby script evaluated by the host every time a vagrant command is executed in the project directory. If a low-privileged attacker obtains shell access to the guest VM, they can append arbitrary Ruby code to the mounted Vagrantfile. When a user on the host later runs any vagrant command, the injected code is executed on the host with that user’s privileges.

 While this shared-folder behavior is well-documented by Vagrant, the security implications of Vagrantfile execution from guest-writable storage are not explicitly addressed. This effectively enables guest-to-host code execution in multi-tenant or adversarial VM scenarios.
Added CVSS V4.0

								
							
							
						
AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Added CWE

								
							
							
						
CWE-94
Added CWE

								
							
							
						
CWE-276
Added CWE

								
							
							
						
CWE-668
Added Reference

								
							
							
						
https://developer.hashicorp.com/vagrant
Added Reference

								
							
							
						
https://developer.hashicorp.com/vagrant/docs/synced-folders/basic_usage
Added Reference

								
							
							
						
https://developer.hashicorp.com/vagrant/docs/vagrantfile
Added Reference

								
							
							
						
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/local/vagrant_synced_folder_vagrantfile_breakout.rb
Added Reference

								
							
							
						
https://vulncheck.com/advisories/hashicorp-vagrant-synced-folder-vagrantfile-breakout