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

Parallels Desktop prl_packer_inplace PVMP Unpack Directory Traversal Privilege Escalation

A directory traversal vulnerability in Parallels Desktop's PVMP package unpacking allows an attacker to write arbitrary files with root privileges. By crafting a package with a malicious file path, a low-privilege user could overwrite system files and escalate privileges to root.

KPC Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A directory traversal vulnerability exists in the PVMP package unpacking functionality of Parallels Desktop for Mac version 20.2.2 (55879). This vulnerability can be exploited by an attacker to write to arbitrary files, potentially leading to privilege escalation.

KPC, on Cisco Talos

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

The unpacking process fails to sanitise file paths in the package, allowing directory traversal sequences like '../' to escape the intended directory.

What the attacker needed

Low-privilege user account; ability to run prl_packer_inplace; ability to open a crafted .pvmp package

The fix

The vulnerability was fixed by the vendor in a patch release.

How it was found

  1. Use the push command of prl_packer_inplace to add a file with a path containing directory traversal characters to a .pvmp package.
  2. Open the package in Parallels Desktop to trigger unpacking.
  3. The file is written to an arbitrary location, such as a LaunchDaemon plist.

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.

When you unpack a file, the program should only write files inside the intended folder. Here, it didn't check the file paths properly, so someone could make it write files anywhere on the system, even in protected locations. This could let a normal user take control of the whole 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 KPC

View all

102 more disclosed reports, best first.

More from Cisco Talos

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.