Skip to content
Path traversal Write-up Beginner

Zero-Click WinRAR Zero-Day: CVE-2025–8088 (Path Traversal) Expl

WinRAR fails to sanitise file paths inside RAR archives, so a crafted archive can write files outside the chosen extraction folder. An attacker could place a batch file in a startup location so it runs automatically after a restart.

Radeonares Follow

Published on medium.com

If you’ve never used malware or tried exploitation — this is for you. We’ll walk through how WinRAR’s CVE‑2025‑8088 works, step-by-step in a totally safe virtual environment.

Radeonares, on medium.com

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 extractor did not normalise or reject path traversal sequences in entry names, allowing writes outside the destination directory.

Impact

An attacker could get code to run automatically after a restart, but the text only shows a calculator opening and does not demonstrate real harm.

What the attacker needed

Vulnerable WinRAR below v7.13; victim opens the RAR; system restart for auto-run

The fix

WinRAR should be updated to version 7.13 or later, which the text says is available.

How it was found

  1. Create a folder and put a batch file inside it.
  2. Use the rar command to archive the batch file into a RAR.
  3. Place the RAR on the victim machine's desktop and open it in WinRAR.
  4. The batch file is extracted outside the archive folder, possibly into a startup folder.
  5. After a restart, the batch file runs automatically.

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 RAR file is like a folder of files packed into one file. WinRAR is a program that unpacks it. Here, WinRAR did not check where each packed file was allowed to go, so a file could be written into a system folder that runs programs at startup. That means opening the archive could lead to code running without the user asking for it.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.