A path traversal vulnerability exists in Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/hudson/model/FileParameterValue.java that allows attackers with Job/Configure permission to define a file parameter with a file name outside the intended directory, resulting in an arbitrary file write on the Jenkins master when scheduling a build.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "2.138.1"
},
{
"introduced": "0"
},
{
"last_affected": "2.145"
}
]
}