Intel

AIKIDO-2026-595967

wheel is vulnerable to Path Traversal

Path TraversalGHSA-vgq5-9859-3mmw Published 4 days ago

55

Medium Risk

This Affects:

PYTHONwheel
0.9.6 - 0.47.0
Fixed in 0.48.0
Are you affected? Scan for Free

TL;DR

The wheel convert command builds the output wheel path from the project name and version read from the input archive. Converting an archive whose name or version contains path separators can therefore write the produced wheel to an arbitrary location outside the destination directory, allowing files chosen by the archive contents to be created or overwritten. The fix rejects converted output paths that resolve outside the requested destination directory.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run wheel convert on an .egg or wininst archive whose project name or version metadata comes from an untrusted source.

Background info

wheel is vulnerable to Path Traversal in versions 0.9.6 - 0.47.0.

How to fix this

Upgrade the wheel library to the patch version.