{"id":"CVE-2026-57282","published":"2026-06-24T13:20:05Z","modified":"2026-06-24T14:00:22Z","title":"Jenkins Git client Plugin 6.6.0 and earlier does not correctly escape the workspace directory name when it is embedded…","vendor":"Jenkins","product":"Jenkins Git client Plugin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00253,"percentile":0.17151,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3723","tags":["vendor-advisory"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.43},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"jenkins","affectedVersions":[{"vendor":"Jenkins Project","product":"Jenkins Git client Plugin","versions":["<= 6.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-24T13:59:44.514464Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:git-client","vulnerableRanges":["<6.6.1"],"patched":["6.6.1"],"from":["GHSA-wp5x-hrrw-6r4g"],"provenance":"source"}],"summary":{"text":"The Jenkins Git client Plugin, version 6.6.0 and earlier, fails to correctly escape the workspace directory name when it is embedded into a generated SSH wrapper script, which is an OS command injection flaw. An attacker who can control the name of a build's working directory can execute arbitrary operating system commands on the agent, with low-privilege authentication required and the attack possible over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:42Z"},"euvd":{"id":"EUVD-2026-38762","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jenkins-git-client-plugin-cve-2017-1000242","parents":[{"from":"CVE-2025-67640","to":"CVE-2026-57282","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.plugins:git-client","fromFixed":"6.4.1","toFixed":"6.6.1","daysApart":196},{"kind":"same-code","provenance":"machine","files":["src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java"],"commits":["https://github.com/jenkinsci/git-client-plugin/commit/5a271e5d1d08bd45cdb3c3541856d2dc2abf0dbc","https://github.com/jenkinsci/git-client-plugin/commit/a10f61003e39fd9be6fada0560b13ba718b2716f"],"basis":"shared function","functions":["createTempFile","launchCommandWithCredentials"]},{"kind":"similar","provenance":"machine","score":0.59,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2017-1000242","to":"CVE-2026-57282","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java"],"commits":["https://github.com/jenkinsci/git-client-plugin/commit/75ea3fe05650fc6ca09046a72493e2b3f066fb98","https://github.com/jenkinsci/git-client-plugin/commit/a10f61003e39fd9be6fada0560b13ba718b2716f"],"basis":"shared function","functions":["launchCommandWithCredentials"]}]},{"from":"CVE-2022-36881","to":"CVE-2026-57282","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java","src/main/java/org/jenkinsci/plugins/gitclient/verifier/ManuallyProvidedKeyVerifier.java"],"commits":["https://github.com/jenkinsci/git-client-plugin/commit/88f52c6c9b18bca4ad210e3b9910a49433583fd9","https://github.com/jenkinsci/git-client-plugin/commit/a10f61003e39fd9be6fada0560b13ba718b2716f"],"basis":"shared function","functions":["launchCommandWithCredentials"]}]}],"packageHistory":[{"cve":"CVE-2022-36881","published":"2022-07-27","fixed":"3.11.1","kev":false},{"cve":"CVE-2025-58458","published":"2025-09-03","fixed":"6.3.3","kev":false},{"cve":"CVE-2025-67640","published":"2025-12-10","fixed":"6.4.1","kev":false},{"cve":"CVE-2026-57282","published":"2026-06-24","fixed":"6.6.1","kev":false}],"package":"Maven:org.jenkins-ci.plugins:git-client"}}