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.

Technologies: org.jenkins-ci.plugins:git-client (Maven). Vendors: Jenkins, 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
    # 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.