Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-8088-WinRAR-PathTraversal-PoC | Kitploit
Tools/GitHubGitHub/0xabolfazl/cve-2025-8088-winrar-pathtraversal-poc
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationBinary Exploitation
GitHub0xabolfazl/cve-2025-8088-winrar-pathtraversal-poc

CVE-2025-8088-WinRAR-PathTraversal-PoC

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
11 year agoNot yet reviewed

CVE-2025-8088 WinRAR Path Traversal Exploit (PoC)

PoC Demo

A Proof-of-Concept exploit demonstrating the WinRAR path traversal vulnerability (CVE-2025-8088) affecting versions ≤ 7.12.


Vulnerability Details

CVE ID: CVE-2025-8088
CVSS Score: 8.4 (High)
Affected Versions: WinRAR ≤ 7.12
Patch Version: Fixed in WinRAR 7.13
Vulnerability Type: Path Traversal via Alternate Data Streams (ADS)

Overview of CVE-2025-8088

CVE-2025-8088 is a path traversal vulnerability in WinRAR, affecting Windows versions up to 7.12, as well as related tools like UnRAR.dll and its portable source code.
The flaw allows attackers to embed malicious payloads in ADSes within specially crafted RAR files, enabling extraction to sensitive system locations (e.g., the Windows Startup folder).
This can lead to automatic execution of malicious files, such as DLLs or shortcut (.lnk) files, upon system reboot.


How the Exploit Works

The exploit leverages path traversal sequences (..) in ADS paths within a RAR archive.
This script creates a malicious RAR archive to demonstrate the CVE-2025-8088 vulnerability.
It requires Python and access to rar.exe (WinRAR's command-line tool).

  • Ensure rar.exe is in your system PATH or specify its path using the --rar argument.

Requirements

  • Python 3.6+
  • WinRAR installed (for rar.exe)
  • Windows NTFS filesystem (for ADS support)

Command-Line Arguments


Example Usage

Create a malicious RAR archive with a decoy file, a payload, and a target drop folder, specifying the path to rar.exe:

root@kitploit:~
python Exploit.py --decoy resume.txt --payload payload.bat --drop "C:\Users\you\Documents" --rar "C:\Program Files\WinRAR\rar.exe"

Disclaimer: This tool is for educational and research purposes only. Do not use it to harm systems or networks. The author is not responsible for misuse or damage caused by this script.

Download Tool
ArgumentDescriptionRequired?Default
--decoyPath to decoy file (existing or will be created)Yes-
--payloadPath to harmless payload file (existing or will be created)Yes-
--dropAbsolute path to benign folder (e.g., C:\Users\you\Documents)Yes-
--rarPath to rar.exe (auto-discovered if omitted)NoAuto-discovered
--outOutput RAR filenameNowinrar_exploit.rar
--workdirWorking directoryNoCurrent directory (.)
--placeholder_lenLength of ADS placeholder (auto: ≥ max(len(injected), 128))NoAuto-calculated
--max_upNumber of .. segments to prefixNo16
--keep_tempKeep temporary base RAR file RARNo-