Microsoft Windows Installer Folder Delete Privilege Escalation
A logic flaw in the COM interface exposed by the Windows Installer service (msi.dll) lets a low-privileged user schedule an arbitrary folder path in the TempPackages registry key, causing the service to delete that folder. The service does not validate that the folder belongs to the caller, so an attacker could delete folders they have access to with the service's privileges.
Published on blog.exodusintel.com
JULY 6, 2026 Vulnerability Analysis, Exploit Techniques, General Research
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the MSI service trusts a folder path supplied through the TempPackages registry key without verifying that the caller owns or is authorised to delete that folder.
Impact
A low-privileged user could cause the MSI service to delete an arbitrary folder they have access to, potentially removing files or data with the service's privileges.
What the attacker needed
Low-privileged local user; access to the TempPackages registry key
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Windows has a background service that installs and repairs software. A normal user can ask this service to clean up temporary folders, but the service does not check whether the folder really belongs to that user. By writing a folder path into a registry setting, the user can make the service delete a folder it should not touch.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.