CVE-2025-34075

✕ Withdrawn — historical dataMEDIUMCVSS · not yet scored
—

HashiCorp Vagrant has code injection vulnerability through default synced folders

An authenticated virtual machine escape vulnerability exists in HashiCorp Vagrant versions 2.4.6 and below 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.

CVSS v3
—
EchelonGraph score
Not yet assessedThis CVE record was withdrawn by its numbering authority, so there is no vulnerability to rate.
EPSS PROB
—
EPSS %ILE
—
KEV
—Not applicable: this CVE ID was withdrawn

Published

July 2, 2025

Last Modified

July 2, 2025

Frequently asked(3)

What is CVE-2025-34075?
CVE-2025-34075 is a rejected CVE ID: its record was withdrawn on July 10, 2025 and no longer describes a vulnerability. Reason given: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority. Initially assigned to document an issues that allows guest VM to modify the host’s Vagrantfile via default synced folder, leading to host-side code execution. Rejected as CVE due to documented, intended behavior that does not violate a claimed security boundary. https://developer.hashicorp.com/vagrant/docs/synced-folders
When was the CVE record for CVE-2025-34075 published?
The CVE record for CVE-2025-34075 was published on July 2, 2025. EchelonGraph's copy of the record carries a last-modified date of July 2, 2025; the record at its source may have been updated since.
How do I remediate CVE-2025-34075?
There is nothing to remediate under CVE-2025-34075: it is a rejected (withdrawn) CVE ID and no longer describes a vulnerability.