BreachSpiderVerified, not vibes

CVE-2023-5834 in Hashicorp Vagrant

High 7.8

HashiCorp Vagrant's Windows installer targeted a custom location with a non-protected path that could be junctioned, introducing potential for unauthorized file system writes. Fixed in Vagrant 2.4.0.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.8
EPSS0.3%
EPSS percentile17th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Hashicorp Vagrant < 2.4.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

HashiCorp Vagrant's Windows installer targeted a custom location with a non-protected path that could be junctioned, introducing potential for unauthorized file system writes. Fixed in Vagrant 2.4.0.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-5834
BreachSpider IDBS-2023-GLOBAL-054885-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2023-10-27
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

CWE-1386: CWE-1386

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

CAPEC-76 Manipulating Web Input to File System Calls via CWE-59

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

HashiCorp Vagrant's Windows installer is vulnerable to a path traversal attack due to a non-protected custom installation path that can be junctioned, allowing unauthorized file system writes.

An attacker can create a symbolic link (junction) to a sensitive directory before running the Vagrant installer. When the installer writes files to the custom location, it will instead write to the linked directory, potentially overwriting or creating files with malicious content.

Questions

What is CVE-2023-5834?

HashiCorp Vagrant's Windows installer is vulnerable to a path traversal attack due to a non-protected custom installation path that can be junctioned, allowing unauthorized file system writes.

What is the CVSS score for CVE-2023-5834?

CVE-2023-5834 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.

Is CVE-2023-5834 actively exploited?

No confirmed active exploitation of CVE-2023-5834 as of 2026-09-25.

How do I remediate CVE-2023-5834?

Priority: HIGH. Advisory: https://discuss.hashicorp.com/t/hcsec-2023-31-vagrant-s-windows-installer-allowed-directory-junction-write/59568 PSIRT: [email protected]

What systems are affected by CVE-2023-5834?

CVE-2023-5834 affects Hashicorp Vagrant.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Hashicorp","product":"Vagrant","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.