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.0014
EPSS Percentile
3.8%
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 (9)
python/python
3.15.0 alpha1
python/python
< 3.9.0
Python Software Foundation/CPython
< 3.9.25
Python Software Foundation/CPython
3.10.0 - 3.10.20
Python Software Foundation/CPython
3.11.0 - 3.11.15
Python Software Foundation/CPython
3.12.0 - 3.12.13
Python Software Foundation/CPython
3.13.0 - 3.13.10
Python Software Foundation/CPython
3.14.0 - 3.14.1
Python Software Foundation/CPython
3.15.0a1 - 3.15.0a2
Published
Oct 31, 2025
Tracked Since
Feb 18, 2026