Fixed a critical vulnerability of the install tool (see #6855)