CVE-2020-26222
HIGH 8.8CVSS 3.1Remote code execution in dependabot-core branch names when cloning
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.
- Published
- 13 Nov 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-23f7-99jx-m54r
- Sources
- NVDJSONOSV GHSA-23f7-99jx-m54rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dependabot_project | dependabotcpe:2.3:a:dependabot_project:dependabot:*:*:*:*:*:*:*:* |
>= 0.119.1, < 0.125.1 | 0.125.1 |
| NVD | dependabot_project | dependabotcpe:2.3:a:dependabot_project:dependabot:0.119.0:-:*:*:*:*:*:* |
= 0.119.0 | |
| NVD | dependabot_project | dependabotcpe:2.3:a:dependabot_project:dependabot:0.119.0:beta1:*:*:*:*:*:* |
= 0.119.0 | |
| OSV | RubyGems | dependabot-omnibus | >= 0.119.0.beta1, < 0.125.1 | 0.125.1 |
| OSV | RubyGems | dependabot-common | >= 0.119.0.beta1, < 0.125.1 | 0.125.1 |
References
- https://github.com/dependabot/dependabot-core/commit/e089116abbe284425b976f7920e502b8e83a61b5 · Patch, Third Party Advisory, WEB
- https://github.com/dependabot/dependabot-core/pull/2727 · Patch, Third Party Advisory, WEB
- https://github.com/dependabot/dependabot-core/security/advisories/GHSA-23f7-99jx-m54r · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-26222 · ADVISORY
- https://github.com/dependabot/dependabot-core · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/dependabot-common/CVE-2020-26222.yml · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/dependabot-omnibus/CVE-2020-26222.yml · WEB
- https://rubygems.org/gems/dependabot-common · WEB
- https://rubygems.org/gems/dependabot-omnibus · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Nov 2020)