Directory Traversal Vulnerability in Python Product by Python Software Foundation
CVE-2026-12003
What is CVE-2026-12003?
This vulnerability occurs in Python installations where the VPATH variable is improperly defined, allowing low-privileged users to create a landmark file outside the intended installation directories. Specifically on Windows, this can lead to potential unauthorized access to alternative library folders because the required 'setup.local' file can be created in locations with differing permissions. To mitigate this risk, users are advised to transition to the updated Python installation manager, which maintains proper user restrictions. Future updates to Python will phase out the problematic landmark detection method to enhance overall security.
Affected Version(s)
CPython 0 < 3.13.15
CPython 3.14.0 < 3.14.7
CPython 3.15.0a1 < 3.15.0b3
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
