CVE-2025-34075 HashiCorp Vagrant has code injection vulnerability through default synced folders
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2025-34075?
CVE-2025-34075 is a vulnerability in vagrant, published on 2 Jul 2025.
Official description
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
Which versions are affected by CVE-2025-34075?
2 open source packages ship an affected version, including vagrant.
| Package | Affected | Fixed in |
|---|---|---|
vagrant RubyGems | From 2.2.10 | 2.4.7 |
vagrant RubyGems | From 2.2.10 | 2.4.7 |
How do I fix CVE-2025-34075?
Upgrade vagrant to 2.4.7 or later.
Is CVE-2025-34075 being exploited?
There is no known exploitation of CVE-2025-34075 in the wild and no public exploit code.
Sources
Also known as GHSA-hqp6-mjw3-f586.