# CVE-2025-67640: Jenkins Git client Plugin has an OS command injection vulnerability on agents in Git client Plugin

Source: https://junglewise.ai/threats/cve-2025-67640-jenkins-git-client-plugin-has-an-os-command-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-10  
License: CC BY 4.0 with a link back

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.

Technologies: [org.jenkins-ci.plugins:git-client (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-git-client). Vendors: [Jenkins](https://junglewise.ai/threats/vendors/jenkins), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-67640 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-67640 being exploited in the wild.

**How severe is CVE-2025-67640?** Medium severity, with a CVSS score of 5, published 10 December 2025.

**Which products and versions are affected?** org.jenkins-ci.plugins:git-client (Maven) ECOSYSTEM:introduced=0,fixed=6.4.1.

**Is there a fix for CVE-2025-67640?** 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

  ```sh
  # set org.jenkins-ci.plugins:git-client to 6.4.1 in your pom.xml or build.gradle
  ```


## Affected products

- Jenkins Git Client
- org.jenkins-ci.plugins:git-client (Maven) ECOSYSTEM:introduced=0,fixed=6.4.1

## Identifiers

- CVE-2025-67640
- GHSA-v8hg-m323-jvjq

## Related threats

- [Jenkins Git client Plugin OS command injection in SSH wrapper script](https://junglewise.ai/threats/cve-2026-57282-jenkins-git-client-plugin-os-command-injection-in-ssh-wrapper)
- [Jenkins Git client Plugin file system information disclosure vulnerability](https://junglewise.ai/threats/cve-2025-58458-jenkins-git-client-plugin-file-system-information-disclosure)
- [Jenkins Git client plugin 3.11.0 does not perform SSH host key verification](https://junglewise.ai/threats/cve-2022-36881-jenkins-git-client-plugin-3-11-0-does-not-perform-ssh-host-key)
- [Improper Neutralization of Special Elements used in an OS Command in Jenkins Git Client Plugin](https://junglewise.ai/threats/cve-2019-10392-improper-neutralization-of-special-elements-used-in-an-os-command)
- [Insecure temporary file usage in Jenkins Git Client Plugin](https://junglewise.ai/threats/cve-2017-1000242-insecure-temporary-file-usage-in-jenkins-git-client-plugin)
