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

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 file operations to reach unintended directories. An attacker could use this to run code with the privileges of the account that opens the archive.

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, the ZIP extraction logic did not properly validate symbolic link targets, allowing path traversal outside the intended extraction directory.

Impact

An attacker could execute arbitrary code in the context of the service account that processes the archive, but interaction with the product is required.

What the attacker needed

Victim opens a crafted ZIP file; 7-Zip version before 25.00

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 check these links carefully, so a malicious archive could make the program write or read files outside the folder where you extracted it. That could let an attacker run their own code on your 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.