In Python 3.8.4, sys.path restrictions specified in a...
High severity
Unreviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Oct 14, 2026
Description
Published by the National Vulnerability Database
Jul 17, 2020
Published to the GitHub Advisory Database
May 24, 2022
Last updated
Oct 14, 2026
In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing code to be loaded from arbitrary locations. The ._pth file (e.g., the python._pth file) is not affected.
References