CVE-2025–8088: WinRAR’s Zero-Day Path Traversal — From Zero to Pwn 🗿
WinRAR versions up to 7.12 contain a path traversal flaw that lets a crafted RAR archive write files outside the intended extraction folder, including into the Windows Startup directory. An attacker could use this to place a malicious DLL that runs automatically at login, achieving persistence and code execution.
Published on systemweakness.com
WinRAR — the dusty classic everyone has installed but no one updates — just got slapped with a high-severity zero-day: CVE-2025–8088.
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 archive extraction logic failed to properly sanitise file paths inside the archive, allowing directory traversal sequences to escape the chosen destination folder.
Impact
An attacker could place a malicious DLL in the Startup folder, leading to code execution and persistence on the victim's machine; the text notes this was exploited in the wild.
What the attacker needed
Victim uses WinRAR 7.12 or earlier; Victim opens a crafted RAR file
The fix
The vulnerability was fixed in WinRAR 7.13; users should upgrade to that version or later.
How it was found
- Create a malicious DLL file.
- Build a RAR archive that contains a path traversal sequence pointing to the Windows Startup folder.
- Optionally hide the DLL inside an alternate data stream of a harmless file.
- Extract the archive with a vulnerable WinRAR version, which places the DLL in the Startup folder.
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.
WinRAR is a program for opening compressed archive files. A path traversal bug means a specially crafted archive can make the program save files in places it should not, such as the folder Windows uses to launch programs at startup. If an attacker can put a harmful file there, it will run the next time the computer starts.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.