Jenkins Git client
CVE-2025-67640
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Jenkins job/workspace configuration access
-
DeliverySet malicious workspace directory name with shell metacharacters
-
ExploitPlugin builds unescaped temp shell script
-
ExecutionInjected OS commands execute in build context
-
ImpactCommand execution / limited host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to control the name of the workspace directory used by the Git client plugin - in practice this means a user with sufficient Jenkins privileges to configure a job, set a custom workspace path, or otherwise influence how the workspace directory is named on a controller or build agent. The limiting factors are significant: it is not remote-unauthenticated (PR:L - some authenticated/configuration-level access is needed), AC:H reflects that merely reaching Jenkins is insufficient (the attacker must specifically achieve influence over the workspace naming), and the affected component must be Git client Plugin 6.4.0 or earlier. Environments where only trusted administrators configure jobs face substantially lower real-world risk than multi-tenant Jenkins instances allowing less-trusted users to define job/workspace settings. |
| Impact | This is a genuine-but-low-priority vulnerability, and multiple signals agree. The CVSS base score of 5.0 (Medium) is driven down by AC:H (high attack complexity - the attacker must achieve control over the workspace directory name, which is not trivially satisfied) and PR:L (some authenticated/configuration privilege is required), with only partial C:L/I:L/A:L impact. EPSS reinforces this: a 0.21% exploitation probability at the 11th percentile indicates very low likelihood of near-term broad exploitation. The vulnerability is NOT in CISA KEV (no confirmed active exploitation) and no public exploit code is referenced, so there is no evidence of weaponization. No SSVC decision data was provided in the input. The CWE-78 OS command injection with scope-unchanged (S:U) means impact is confined to the context in which the shell script runs (a Jenkins controller/agent build environment). Signals are internally consistent - there is no conflict between CVSS, EPSS, and KEV; all point to a legitimate command-injection flaw that requires meaningful preconditions and is unlikely to be mass-exploited. Prioritize patching in Jenkins environments where untrusted users can influence job/workspace naming, but this does not warrant emergency response. |
| Exploit ScenarioDerived | An attacker who already has enough Jenkins access to influence or control a build's workspace directory name crafts a name containing shell metacharacters. When the Git client plugin generates its temporary shell script without escaping the workspace path argument, the embedded payload is executed as OS commands in the build environment. No public proof-of-concept exploit is referenced in the available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Command injection in the Jenkins Git client Plugin 6.4.0 and earlier allows a user who can influence the name of a job's workspace directory to execute arbitrary OS commands on the Jenkins controller or build agent, because the plugin fails to escape that path when it is embedded as an argument in a temporary shell script. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L) shows this is not unauthenticated exploitation: the attacker needs authenticated, configuration-level access sufficient to set or control a custom workspace path, and the high attack-complexity rating reflects that merely reaching Jenkins is not enough - the workspace naming condition must be specifically achieved. No public exploit code and no confirmed in-the-wild exploitation have been identified at time of analysis, and EPSS is low at approximately 0.21% (11th percentile), so this is a genuine but low-priority vulnerability whose real-world risk is concentrated in multi-tenant Jenkins instances where less-trusted users can define job and workspace settings.
RemediationAI
Patch available per vendor advisory: upgrade the Git client Plugin above the 6.4.0 line using the fixed release identified in the Jenkins Security Advisory of 2025-12-10, SECURITY-3614 (https://www.jenkins.io/security/advisory/2025-12-10/#SECURITY-3614) - the input data states 6.4.0 and earlier are vulnerable but does not include an independently confirmed fix version, so verify the exact patched version in the advisory or the Jenkins update center before declaring the instance remediated, and note that the plugin must be updated on controllers and on any agent where it is installed. Where immediate upgrade is not possible, the most effective compensating control is to restrict who can influence workspace directory names: remove or tightly scope the Job/Configure permission for untrusted users, disallow custom workspace paths and user-defined workspace directory naming, and avoid deriving workspace names from build parameters or SCM-provided strings, with the trade-off that this reduces the flexibility that multi-tenant or parameterized pipelines rely on. Running builds under a low-privilege OS account and isolating agents (containers/ephemeral agents with no credentials on disk) limits the blast radius of an injected command but does not remove the injection path, and deploying a Jenkins script-security style allowlist or an agent filesystem layout where the workspace path is a fixed, administrator-chosen literal (for example /var/jenkins/workspace/jobname) removes the attacker-controlled input entirely at the cost of administrator-managed path conventions. Because no public exploit code has been identified and EPSS is only ~0.21%, this can be scheduled as a routine maintenance upgrade rather than an emergency change, but multi-tenant instances granting Job/Configure to low-trust users should prioritize it.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause class is CWE-78 (Improper Neutralization of Special Elements used in an OS Command / OS Command Injection). The Jenkins Git client Plugin generates temporary shell scripts to wrap git invocations - for example to handle credentials, remote configuration and checkout steps on controllers and build agents - and passes the workspace directory path into those scripts as an argument. The plugin does not correctly quote/escape that path, so shell metacharacters contained in the workspace directory name are interpreted by the shell rather than treated as literal path data, allowing command substitution or command chaining. Successful injection executes with the privileges of the Jenkins process or build agent account that runs the generated script. The supplied CPE string, cpe:2.3:a:jenkins:git_client:*:*:*:*:*:jenkins:*:*, confirms the affected component is the Jenkins-targeted build of the Git client plugin (the artifact consumed through the Jenkins update center), with all versions up to and including 6.4.0 in scope. Exploitation is bounded by prerequisites rather than by technical sophistication: the attacker must already hold enough privileges to shape the workspace directory name (custom workspace path configuration, a job/agent naming scheme they can influence, or a pipeline that derives the directory name from attacker-supplied data), which is why the assessed vector is PR:L with AC:H and why impact is limited to C:L/I:L/A:L - command execution is real, but it occurs in a constrained configuration scenario rather than as a remote, unauthenticated compromise.
Know when Git Client gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Workspace naming is driven through network-accessible Jenkins job config (AV:N) by an authenticated low-privileged user (PR:L), but controlling the directory name is non-trivial (AC:H); command execution yields limited C/I/A.
Primary rating from Vendor (googlegroups).
CVSS VectorVendor: googlegroups
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in Git Client
View allJenkins Git Client Plugin 2.8.4 and earlier and 3.0.0-rc did not properly restrict values passed as URL argument to an i
Jenkins Git client Plugin 3.11.0 and earlier does not perform SSH host key verification when connecting to Git repositor
Jenkins Git Client Plugin 2.4.2 and earlier creates temporary file with insecure permissions resulting in information di
In Jenkins Git client Plugin 6.3.2 and earlier, except 6.1.4 and 6.2.1, Git URL field form validation responses differ b
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB