CVE-2025-8088: Verified Repro With Script Download
CVE-2025-8088: WinRAR ADS Path Traversal — Arbitrary Code Execution via Crafted Archive CVE-2025-8088
CVE-2025-8088 is verified against the affected target. Vulnerability class: Path Traversal. This high reproduction includes runnable sandbox proof, artifacts, and a plain-text agent view under REPRO-2026-00090.
What Is CVE-2025-8088?
CVE-2025-8088 is a high-severity path traversal (CWE-35) in the Windows version of WinRAR that allows arbitrary code execution via a crafted archive. It was exploited in the wild. Pruva reproduced it (reproduction REPRO-2026-00090).
CVE-2025-8088 Severity & CVSS Score
CVE-2025-8088 is rated high severity, with a CVSS base score of 8.8 out of 10.
High — serious impact or readily exploitable. Prioritize remediation.
How to Reproduce CVE-2025-8088
pruva-verify REPRO-2026-00090 curl -O https://pruva.dev/api/v1/reproductions/REPRO-2026-00090/artifacts/reproduction_steps.sh && chmod +x reproduction_steps.sh && ./reproduction_steps.sh Proof of Reproduction for CVE-2025-8088
Reproduced by Pruva's autonomous agents — 548 tool calls over 2h 4m. Full root-cause analysis and the complete transcript are below.
How the agent worked
Root Cause and Exploit Chain for CVE-2025-8088
Summary
CVE-2025-8088 is a path traversal flaw in WinRAR for Windows that allows archives containing Alternate Data Streams (ADS) to write files outside the chosen extraction directory. A crafted RAR with ADS entries can drop a payload into the user's Startup folder when extracted, enabling arbitrary code execution on next login.
Impact
- Package/component affected: WinRAR for Windows (and Windows UnRAR/UnRAR.dll/portable UnRAR).
- Affected versions: WinRAR <= 7.12 (patched in 7.13).
- Risk level and consequences: High. A crafted archive can write files outside the destination, enabling persistence and code execution (e.g., Startup folder payloads).
Root Cause
WinRAR's handling of ADS entries allows path traversal through relative path components (..) embedded in ADS stream names. When extracting a RAR with ADS entries, WinRAR resolves traversal segments relative to the extraction path and permits writing the ADS payload into unintended locations (e.g., Startup folder). WinRAR 7.13 release notes indicate this was fixed, suggesting validation was added to prevent traversal outside the destination.
Reproduction Steps
- Run
repro/reproduction_steps.sh(wrapper for PowerShell script). - The script installs WinRAR 7.12, downloads a public PoC generator, patches it to avoid PDF dependencies, generates an exploit RAR with multiple ADS traversal depths, then extracts it with WinRAR's
rar.exeCLI. - Evidence of reproduction is a
payload.batwritten to the user Startup folder and logged output indicating "Issue confirmed."
Evidence
- Logs:
logs/repro-<timestamp>.log(created per run). - Key excerpt (from successful runs):
- "WinRAR version: 7.12.0"
- "Exploit created: exploit.rar"
- "VULNERABLE: payload written to startup: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\payload.bat"
- Environment: Windows sandbox, WinRAR 7.12 installed via rarlab installer, Python 3.12 used to run PoC generator.
Recommendations / Next Steps
- Upgrade WinRAR to 7.13 or later on Windows hosts.
- If WinRAR cannot be upgraded immediately, disable ADS handling or block extraction of untrusted archives.
- Add regression tests that extract crafted ADS archives and ensure no writes occur outside the destination directory.
Additional Notes
- Idempotency:
repro/reproduction_steps.ps1was run twice successfully; both runs produced the Startup payload and exited 0. - Limitation: The PoC relies on ADS traversal; Linux/Unix builds are not affected per vendor advisory.
CVE-2025-8088 Reproduction Transcript
The agent's step-by-step process — every tool call, every handoff, the moment the exploit fired.
Full session Replay every step — scrub the timeline or play it back.
powershell -NoProfile -Command "Get-ChildItem Env: | Select-Object -First 5"Get-ChildItem Env: | Select-Object -First 5
choco -v'choco' is not recognized as an internal or external command, operable program or batch file.
powershell -NoProfile -Command "Get-Command winget"Get-Command winget
powershell -NoProfile -Command "winget --version"winget --version
powershell -NoProfile -Command "Invoke-WebRequest -UseBasicParsing https://www.rarlab.com/rar/winrar-x64-712.exe -OutFile C:\workspace\winrar-712.exe"Invoke-WebRequest -UseBasicParsing https://www.rarlab.com/rar/winrar-x64-712.exe -OutFile C:\workspace\winrar-712.exe
Artifacts and Evidence for CVE-2025-8088
Scripts, logs, diffs, and output captured during the reproduction.
No artifacts available
How to Fix CVE-2025-8088
FAQ: CVE-2025-8088
Was CVE-2025-8088 exploited in the wild?
Which versions of WinRAR are affected by CVE-2025-8088, and where is it fixed?
How can I reproduce CVE-2025-8088?
References for CVE-2025-8088
Authoritative sources for CVE-2025-8088 — official vulnerability databases and the upstream advisory. Pruva's reproduction verifies the issue firsthand; these are the primary records to corroborate it.