CVE-2024-29188wixtoolset issues
High 7.9
Follow: this CVE · wixtoolset · wixtoolset issues We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.9
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 18
- Auth required
- Yes
- Published
- Mar 24, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for issues.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | wix |
< 3.14.1 |
3.14.1 |
dotnet add package wix --version 3.14.1 |
| NuGet | wix |
≥ 4.0.0 < 4.0.5 |
4.0.5 |
dotnet add package wix --version 4.0.5 |
| NuGet | WixToolset.Util.wixext |
< 4.0.5 |
4.0.5 |
dotnet add package WixToolset.Util.wixext --version 4.0.5 |
Per OSV / GitHub Advisories (GHSA-jx4p-m4wm-vvjg). Check the version in your lockfile before upgrading.
Affected products
- wixtoolset · issues
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.