Race condition
Race Condition in Grunt
GruntJS's file.copy operations are vulnerable to a time-of-check to time-of-use race condition, allowing an attacker to write arbitrary files. A lower-privileged user with write access to both source and destination directories could exploit this to escalate privileges to the GruntJS user, potentially replacing sensitive files like .bashrc or /etc/shadow.
gruntjs/grunt
High