Description
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
References (9)
Core 9
Core References
Issue Tracking, Vendor Advisory issue-tracking
https://github.com/python/cpython/issues/136065
Third Party Advisory vendor-advisory
https://mail.python.org/archives/list/[email protected]/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/
Scores
CVSS v3
5.5
EPSS
0.0003
EPSS Percentile
8.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-400
Status
published
Products (2)
python/python
3.15.0 alpha1
python/python
< 3.9.0
Published
Oct 31, 2025
Tracked Since
Feb 18, 2026