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.
https://github.com/advisories/GHSA-3pr8-rf62-g893
https://jenkins.io/security/advisory/2018-10-10/#SECURITY-1074