Skip to main content

Jenkins Git client CVE-2025-67640

MEDIUM
OS Command Injection (CWE-78)
2025-12-10 jenkinsci-cert@googlegroups.com
5.0
CVSS 3.1 · Vendor: googlegroups
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Jenkins job/workspace configuration access
  2. Delivery
    Set malicious workspace directory name with shell metacharacters
  3. Exploit
    Plugin builds unescaped temp shell script
  4. Execution
    Injected OS commands execute in build context
  5. Impact
    Command 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven org.jenkins-ci.plugins:git-client fix: 6.4.1

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

Vendor (googlegroups) PRIMARY 5.0 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 5.0 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (googlegroups).

CVSS VectorVendor: googlegroups

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
Git client plugin is a near-universal dependency across enterprise Jenkins CI/CD deployments
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

25
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +25
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:jenkins:git_client:*:*:*:*:*:jenkins:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy