CVE-2024-29188
published high CVSS 3.1 · 7.8Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wixtoolset | — | issues< 3.14.1 · >= 4.0.0, < 4.0.5 | Affected | Not stated | GitHub_M |
Description
WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. The custom action behind WiX's `RemoveFolderEx` functionality could allow a standard user to delete protected directories. `RemoveFolderEx` deletes an entire directory tree during installation or uninstallation. It does so by recursing every subdirectory starting at a specified directory and adding each subdirectory to the list of directories Windows Installer should delete. If the setup author instructed `RemoveFolderEx` to delete a per-user folder from a per-machine installer, an attacker could create a directory junction in that per-user folder pointing to a per-machine, protected directory. Windows Installer, when executing the per-machine installer after approval by an administrator, would delete the target of the directory junction. This vulnerability is fixed in 3.14.1 and 4.0.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wixtoolset | issues | < 3.14.1 (affected)>= 4.0.0, < 4.0.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
3Provider assertions
3GitHub_M · cna
Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 14443df6a67a68bb9db6cbb205ca6a53defbceb9f6f6f4be45dc863210c8cc46
- Ingested
- 23 Sep 2026, 08:21:14 UTC
- Source record
- Official CVE record