⚠️ CVE-2025–6218: Critical WinRAR Vulnerability Allows Remo
WinRAR's archive extraction process failed to properly validate directory paths, allowing a crafted archive to write files outside the intended extraction directory. An attacker could trick a user into extracting such an archive, potentially placing malicious files in startup folders or system directories and achieving code execution with the user's privileges.
This vulnerability, discovered by security researcher whs3-detonator, poses a significant threat to Windows users and enterprise systems alike. The flaw has been officially rated 7.8 (High) on the CVSS scale and demands immediate attention.
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
WinRAR did not properly validate directory paths inside archive files, so path traversal sequences could escape the intended extraction directory.
Impact
An attacker could place malicious files in sensitive locations and execute arbitrary code with the user's privileges, potentially leading to full compromise if the user has admin rights; the flaw requires user interaction.
What the attacker needed
Victim opens a crafted archive; user interaction required
The fix
The vulnerability was fixed in WinRAR 7.11, which improves extraction handling.
How it was found
- Create an archive containing file paths that use directory traversal sequences.
- Trick the user into opening and extracting the archive.
- The extraction writes files outside the intended directory, such as startup folders or system directories.
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 that unpacks compressed files. Normally it should only put those files in the folder you choose, but a bug meant a specially made archive could sneak files into other places on your computer, like the folder that runs programs at startup. If a victim opens such an archive, the attacker's files could run automatically.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.