OS Command Injection in org.jenkins-ci.plugins:git-client (CVE-2026-57282)
Summary
OS command injection in org.jenkins-ci.plugins:git-client (CVE-2026-57282). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to 6.6.1 or later.
Original description
The description as published by the source.
Jenkins Git client Plugin 6.6.0 and earlier does not correctly escape the workspace directory name when it is embedded into the SSH wrapper script generated by the "Manually provided keys" Git Host Key Verification strategy on Unix agents.
This allows attackers able to control the name of a build’s working directory (e.g. through a build parameter that determines the workspace directory) to inject shell command substitution and execute arbitrary commands on the agent.
This vulnerability only has an impact when attackers can control working directories (e.g., the argument to the dir(…) Pipeline step) while not being able to control the Pipeline itself or the programs or build scripts it executes.
This vulnerability has been reported through the Jenkins Bug Bounty Program sponsored by the European Commission.
Git client Plugin 6.6.1 stores the known_hosts file used by the "Manually provided keys" Git Host Key Verification strategy in the system temporary directory, so the workspace directory name is no longer embedded in the path passed to the generated SSH wrapper script.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-57282 has been found in org.jenkins-ci.plugins:git-client.
Risk of unauthorized operations or information disclosure. CVSS score: 5.0/10.
What to do: upgrade org.jenkins-ci.plugins:git-client to 6.6.1 or later.
If unsure, ask your IT team or search "org.jenkins-ci.plugins:git-client CVE-2026-57282" on the vendor's site.
CVE-2026-57282 (org.jenkins-ci.plugins:git-client) — CWE-78 / CVSS v3 5.0
Attack vector: remote (network-reachable) / no user interaction
Patched: 6.6.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
OS command injection (CWE-78) exists in org.jenkins-ci.plugins:git-client.
Check the vendor advisory for the affected versions of org.jenkins-ci.plugins:git-client.
Severity: Medium (CVSS 5.0/10). Risk of unauthorized operations or information disclosure.
Update to 6.6.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.jenkins-ci.plugins:git-client を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade org.jenkins-ci.plugins:git-client to 6.6.1ステージング環境で 6.6.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- web jenkins.io
- web nvd.nist.gov
- web github.com
- web github.com
- web github.com