[issue46226] User specific paths added to System PATH environment variable

Aleksandr Krymskiy report at bugs.python.org
Sun Jan 2 12:13:08 EST 2022


New submission from Aleksandr Krymskiy <alex at krymskiy.net>:

Installed Python 3.10.1 using Windows 64-bit installer from python.org. Upon examining the PATH environment variables I noticed that my local user paths (C:\Users\avk\AppData\...) have been added to the System-level PATH variable instead of User level, which can cause problems on multi-user systems, since users other than mine will now have these paths in their environment causing them to potentially try to execute code from unexpected location that they should not even have access too. User paths should be added to User specific PATH environment variable and only global (C:\Program Files\Python310\...) kept in the System scope by the installer. Please see my screenshot - the highlighted should be moved to User scoped PATH var.

----------
components: Installation
files: py_paths.png
messages: 409507
nosy: akrymskiy
priority: normal
severity: normal
status: open
title: User specific paths added to System PATH environment variable
type: behavior
versions: Python 3.10
Added file: https://bugs.python.org/file50535/py_paths.png

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46226>
_______________________________________


More information about the Python-bugs-list mailing list