#VU115104 Untrusted search path in pyinstaller - CVE-2025-59042
Published: September 9, 2025
pyinstaller
PyInstaller
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a special entry being appended to sys.path during the bootstrap process of a PyInstaller-frozen application, and due to the bootstrap script attempting to load an optional module for bytecode decryption while this entry is still present in sys.path. A local user can trick the installer under certain circumstances into executing a malicious code and escalate privileges on the system.