If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
{ "cwe_ids": [] }
"https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2025-13.json"