I've read one explanation saying it can allow malicious executables that are in the cwd to run in place of similarly named built-ins and core utilities.
For something to wreak true havoc, wouldn't this only apply to root? And in any case, if '.' were appended to PATH instead of prepended, shouldn't that circumvent this "replacement" attack, since PATH's directories are scanned in order? (Aren't they scanned in order?)
Are there any other issues besides this one?
.even though it isn't in the %PATH%. That's why PowerShell requires.\executable. – Hello71 Aug 26 '10 at 14:51