If the value passed to os.path.expandvars() is user-controlled a [EOL]performance degradation is possible when expanding environment [EOL]variables.