CVE-2025-67640: Jenkins Git client Plugin has an OS command injection vulnerability on agents in Git client Plugin
CVE-2025-67640 · Severity: medium · CVSS 5 · Published 2025-12-10
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.
Yes. org.jenkins-ci.plugins:git-client (Maven): upgrade to 6.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-67640?
Check whether you run Jenkins Git Client or org.jenkins-ci.plugins:git-client (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.jenkins-ci.plugins:git-client (Maven): upgrade to 6.4.1 or later
# set org.jenkins-ci.plugins:git-client to 6.4.1 in your pom.xml or build.gradle