jenkins is vulnerable to privilege escalation. The vulnerability exists due to an incorrect access restriction vulnerability was found in Jenkins. The directories agents are allowed to access include the directories where there are stored build-related information intended to allow agents to store build-related metadata during build execution.