A vulnerability in setuptools on Windows allows a crafted wheel to cause legacy wheel installation to create an __init__.py file outside the intended installation directory. This occurs due to attacker-controlled content in the wheel's .dist-info/namespace_packages.txt file, which can specify an absolute Windows path. The created file contains fixed content and is created with the permissions of the installing process. The parent directory must already exist for this to succeed. This issue affects setuptools versions >=7.3.1_1 <8.0.1 and >=8.0.3 <9.2.2 and is fixed in versions 8.0.1 and 9.2.2.