CVE-2025-67640: Jenkins Git client Plugin has an OS command injection vulnerability on agents in Git client Plugin
Jenkins Git client Plugin 6.4.0 and earlier does not not correctly escape the path to the workspace directory as part of an argument in a temporary shell script generated by the plugin, allowing attackers able to control the workspace directory name to inject arbitrary OS commands.
Published Dec 10, 2025
Affected packages
org.jenkins-ci.plugins:git-client
- Ecosystem
- Maven
- Affected
- < 6.4.1
- Fixed in
- 6.4.1
- Check
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins:git-client
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Jenkins Git client Plugin 6.4.0 and earlier does not not correctly escape the path to the workspace directory as part of an argument in a temporary shell script generated by the plugin, allowing attackers able to control the workspace directory name to inject arbitrary OS commands.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
