medium5.0
CVE-2026-57282
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, all…
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:git-client | < 6.6.1 | 6.6.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Git Client | before 6.6.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wp5x-hrrw-6r4g
- https://nvd.nist.gov/vuln/detail/CVE-2026-57282
- https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3723
- https://github.com/jenkinsci/git-client-plugin/commit/a10f61003e39fd9be6fada0560b13ba718b2716f
- https://github.com/jenkinsci/git-client-plugin/releases/tag/git-client-6.6.1