# CVE-2024-29188: Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-03-24T19:46:25.875Z
- Modified: 2026-09-10T03:50:10.917Z
- Also known as: GHSA-jx4p-m4wm-vvjg
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- wixtoolset issues: < 3.14.1; >= 4.0.0, < 4.0.5
- wix (NuGet): before 3.14.1; from 4.0.0 before 4.0.5
- WixToolset.Util.wixext (NuGet): before 4.0.5

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H`
- GitHub: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H`

## References

- <https://github.com/wixtoolset/issues/security/advisories/GHSA-jx4p-m4wm-vvjg> (web)
- <https://github.com/wixtoolset/wix/commit/2e5960b575881567a8807e6b8b9c513138b19742> (web)
- <https://github.com/wixtoolset/wix3/commit/93eeb5f6835776694021f66d4226c262c67d487a> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29188> (advisory)
- <https://github.com/wixtoolset/issues> (package)

## Sources

- CVE List: [CVE-2024-29188](https://www.cve.org/CVERecord?id=CVE-2024-29188), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-jx4p-m4wm-vvjg](https://github.com/advisories/GHSA-jx4p-m4wm-vvjg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-29188](https://nvd.nist.gov/vuln/detail/CVE-2024-29188), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-29188 · Whole record: https://cve.day/CVE-2024-29188.json · Rebuilt by cve.day 2026-11-25T22:58:37.871Z
