Medium · published October 31, 2025
If the value passed to os.path.expandvars() is user-controlled a
performance degradation is possible when expanding environment
variables.
| Product | Versions | Fixed in |
|---|---|---|
| python/python | < 3.9.0 | 3.9.0 |
| python/python | ≥ 3.13.1, < 3.13.11 | 3.13.11 |
| python/python | ≥ 3.14.0, < 3.14.1 | 3.14.1 |
| python/python | all versions | — |