{"id":"CVE-2025-67640","published":"2025-12-10T16:50:38Z","modified":"2025-12-10T17:26:12Z","title":"Jenkins Git client Plugin 6.4.0 and earlier does not not correctly escape the path to the workspace directory as part…","vendor":"Jenkins","product":"Jenkins Git client Plugin","tier":"tail","description":{"text":"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.","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.00228,"percentile":0.13888,"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/2025-12-10/#SECURITY-3614","tags":["vendor-advisory"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.78},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"jenkins","affectedVersions":[{"vendor":"Jenkins Project","product":"Jenkins Git client Plugin","versions":["<= 6.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-10T17:26:10.565594Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:git-client","vulnerableRanges":["<6.4.1"],"patched":["6.4.1"],"from":["GHSA-v8hg-m323-jvjq"],"provenance":"source"}],"summary":{"text":"The Jenkins Git client Plugin, version 6.4.0 and earlier, fails to correctly escape the workspace directory path passed as an argument in a temporary shell script the plugin generates, which is an OS command injection flaw. An attacker who can control the workspace directory name can inject arbitrary OS commands, though this requires low-privileged authenticated access to Jenkins and is made harder by high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:55Z"},"euvd":{"id":"EUVD-2025-202456","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jenkins-git-client-plugin-cve-2017-1000242","parents":[{"from":"CVE-2017-1000242","to":"CVE-2025-67640","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/5a271e5d1d08bd45cdb3c3541856d2dc2abf0dbc"],"basis":"shared function","functions":["launchCommandWithCredentials"]}]},{"from":"CVE-2022-36881","to":"CVE-2025-67640","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/88f52c6c9b18bca4ad210e3b9910a49433583fd9","https://github.com/jenkinsci/git-client-plugin/commit/5a271e5d1d08bd45cdb3c3541856d2dc2abf0dbc"],"basis":"shared function","functions":["createUnixGitSSH","getSSHExecutable","launchCommandWithCredentials"]}]}],"children":[{"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"}]}],"packageHistory":[{"cve":"CVE-2019-10392","published":"2019-09-12","fixed":"2.8.5","kev":false},{"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,"link":{"from":"CVE-2025-58458","to":"CVE-2025-67640","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.plugins:git-client","fromFixed":"6.3.3","toFixed":"6.4.1","daysApart":98}]}},{"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"}}