Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-57282 EUVD-2026-38762GHSA-wp5x-hrrw-6r4g

Jenkins Git client Plugin has an OS command injection vulnerability on agents

Published Jun 24, 2026 · Updated Jun 24, 2026 · Assigned by jenkins

Description

Jenkins Git client Plugin 6.6.0 and earlier does not correctly escape the workspace directory name when it is embedded into a generated SSH wrapper script, allowing attackers able to control the name of a build's working directory to execute arbitrary operating system commands on the agent.

Affected products

VendorProductAffectedFixed
Jenkins Project Jenkins Git client Plugin ≤ 6.6.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins:git-client < 6.6.1 6.6.1 GHSA-wp5x-hrrw-6r4g

Advisories 1

References