Skip to content
Path traversal Advisory Intermediate CVE-2025-11001

7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability

A flaw in how 7-Zip handles symbolic links inside ZIP archives lets a crafted archive cause the extraction process to write outside the intended directory. An attacker could use this to run arbitrary code under the account that extracts the file.

Ryota Shiga Follow

Originally disclosed on Zero Day Initiative

High 7.0 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. Interaction with this product is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

Ryota Shiga (GMO Flatt Security Inc.) with takumi-san.ai, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely insufficient validation of symbolic link targets in ZIP archives during extraction, allowing path traversal.

Impact

An attacker could execute arbitrary code in the context of the service account that extracts the malicious ZIP file.

What the attacker needed

Victim extracts a crafted ZIP file

The fix

The vulnerability was fixed in 7-Zip version 25.00.

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 report has not been written yet. The Original tab links to the source.

A ZIP file can contain special entries called symbolic links, which act like shortcuts to other files or folders. 7-Zip did not properly check where these links pointed during extraction, so a malicious ZIP could make the program write files into places it should not. This could let an attacker run their own code on the computer.

What is Path traversal?

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

More by Ryota Shiga

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

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.