The Unzip Of Death Why Using Your Old Winrar Is A Dangerous Trap
WinRAR versions up to 7.12 contain a path traversal flaw (CVE-2025-8088) that lets a malicious archive write files outside the extraction folder, such as into the Windows Startup folder. An attacker can send a fake CV in a RAR file so that when the victim extracts it, hidden malware is planted and runs on reboot.
Published on infosecwriteups.com
We all have it. That little stack of purple, blue, and green books sitting on our desktop.
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 WinRAR failed to properly sanitise file paths inside the archive, allowing entries with traversal sequences to escape the intended extraction directory.
Impact
An attacker could plant malware that runs automatically on reboot, giving a backdoor on the victim's machine; the text claims this was actively exploited by Russian groups.
What the attacker needed
Victim uses WinRAR version 7.12 or older; Victim opens a malicious RAR file; Victim clicks 'Extract Here'
The fix
WinRAR was fixed in version 7.13; users should update to 7.13 or higher.
How it was found
- The attacker sends an email with a RAR attachment pretending to be a CV.
- The victim opens the archive and clicks 'Extract Here'.
- WinRAR extracts a harmless PDF but also writes a malicious script outside the extraction folder.
- The script is placed in the Windows Startup folder or Temp folder and runs on the next reboot.
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.
A path traversal bug lets a program write files to places it should not, like your Startup folder, instead of only the folder you chose. Here, opening a harmless-looking CV in WinRAR secretly drops a file that runs automatically when you restart your PC. You see a PDF, but a hidden program is also installed.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.