{"id":"CVE-2020-26222","published":"2020-11-13T16:00:20Z","modified":"2024-08-04T15:49:07Z","title":"Remote code execution in dependabot-core","vendor":"dependabot","product":"dependabot-core","tier":"tail","description":{"text":"Dependabot is a set of packages for automated dependency management for Ruby, JavaScript, Python, PHP, Elixir, Rust, Java, .NET, Elm and Go. In Dependabot-Core from version 0.119.0.beta1 before version 0.125.1, there is a remote code execution vulnerability in dependabot-common and dependabot-go_modules when a source branch name contains malicious injectable bash code. For example, if Dependabot is configured to use the following source branch name: \"/$({curl,127.0.0.1})\", Dependabot will make a HTTP request to the following URL: 127.0.0.1 when cloning the source repository. The fix was applied to version 0.125.1. As a workaround, one can escape the branch name prior to passing it to the Dependabot::Source class.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03088,"percentile":0.8802,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/dependabot/dependabot-core/security/advisories/GHSA-23f7-99jx-m54r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dependabot/dependabot-core/pull/2727","tags":["x_refsource_MISC"]},{"url":"https://github.com/dependabot/dependabot-core/commit/e089116abbe284425b976f7920e502b8e83a61b5","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":17.6},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"dependabot","affectedVersions":[{"vendor":"dependabot","product":"dependabot-core","versions":["< 0.125.1"]}],"affected":[{"ecosystem":"RubyGems","package":"dependabot-omnibus","vulnerableRanges":[">=0.119.0.beta1, <0.125.1"],"patched":["0.125.1"],"from":["GHSA-23f7-99jx-m54r"],"provenance":"source"},{"ecosystem":"RubyGems","package":"dependabot-common","vulnerableRanges":[">=0.119.0.beta1, <0.125.1"],"patched":["0.125.1"],"from":["GHSA-23f7-99jx-m54r"],"provenance":"source"}],"summary":{"text":"A flaw in dependabot-core (the Dependabot automated dependency management packages, specifically the dependabot-common and dependabot-go_modules components) allows malicious shell code embedded in a source branch name to be executed when the source repository is cloned. An attacker who can get Dependabot to process a repository with a crafted branch name can run commands on the host, and exploitation requires a low-privilege account, with a user interaction needed to trigger it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:13Z"},"euvd":{"id":"EUVD-2020-1442","exploited":false,"provenance":"source"}}