Reliance on Untrusted Inputs in a Security Decision in pyinstaller - #VU144254

 

Reliance on Untrusted Inputs in a Security Decision in pyinstaller - #VU144254

Published: August 19, 2026


Vulnerability identifier: #VU144254
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-807
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to reliance on untrusted inputs in a security decision in the PyInstaller bootloader when inheriting spoofed environment variables in privileged executables. A local user can manipulate environment variables to execute arbitrary code.

Exploitation requires the ability to execute a privileged PyInstaller-built executable, such as a setuid-root executable on POSIX systems or a UAC-enabled executable on Windows.


Affected software

pyinstaller

Remediation

Install security update from vendor's website.

pyinstaller - update to 6.22.1

External References

Related Security Bulletins