A path traversal issue exists when installing distributions containing entry point specifications. Specifically, the software fails to restrict the placement of generated entry points, allowing them to be written outside the environment's scripts directory via crafted `console scripts` or `gui scripts` entry point names. An attacker can exploit this by inducing a user to install a malicious wheel, enabling the placement of executables in directories already present on the user's `PATH`. This can lead to the shadowing or overwriting of existing binaries, potentially resulting in arbitrary code execution.