# CVE-2020-26222: Remote code execution in dependabot-core

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 3.09% (percentile 88, 2026-11-26)
- **CWE:** CWE-74
- **Aliases:** GHSA-23f7-99jx-m54r
- **Published:** 2020-11-13T15:47:50.000Z
- **Modified:** 2026-07-08T06:29:09.252Z

## Who should check

- Projects that depend on RubyGems package dependabot-omnibus (\>= 0.119.0.beta1, \< 0.125.1)
- Projects that depend on RubyGems package dependabot-common (\>= 0.119.0.beta1, \< 0.125.1)
- Anyone running dependabot-core \< 0.125.1

## Description

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.

## Affected and fixed versions

- RubyGems `dependabot-omnibus`: affected \>= 0.119.0.beta1, \< 0.125.1; fixed 0.125.1 (osv)
- RubyGems `dependabot-common`: affected \>= 0.119.0.beta1, \< 0.125.1; fixed 0.125.1 (osv)
- dependabot-core: \< 0.125.1 (cvelist)

## Mitigation

- Upgrade dependabot-omnibus to 0.125.1 or later.
- Upgrade dependabot-common to 0.125.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-26222. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-26222.md
Affected: dependabot-omnibus >= 0.119.0.beta1, < 0.125.1; dependabot-common >= 0.119.0.beta1, < 0.125.1
Fixed in: 0.125.1

Steps:
1. Search this machine and project for dependabot-omnibus (RubyGems), dependabot-common (RubyGems), dependabot-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-26222 being exploited?

There is no confirmed exploitation: CVE-2020-26222 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.09% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-26222?

High: CVSS 8.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2020-26222?

dependabot-omnibus \>= 0.119.0.beta1, \< 0.125.1; dependabot-common \>= 0.119.0.beta1, \< 0.125.1.

### Is there a fix for CVE-2020-26222?

Yes. Fixed in 0.125.1. Upgrade dependabot-omnibus to 0.125.1 or later. Upgrade dependabot-common to 0.125.1 or later.

### How do I check if I'm affected by CVE-2020-26222?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/dependabot/dependabot-core/security/advisories/GHSA-23f7-99jx-m54r>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-26222>
- patch: <https://github.com/dependabot/dependabot-core/pull/2727>
- patch: <https://github.com/dependabot/dependabot-core/commit/e089116abbe284425b976f7920e502b8e83a61b5>
- other: <https://github.com/dependabot/dependabot-core>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/dependabot-common/CVE-2020-26222.yml>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/dependabot-omnibus/CVE-2020-26222.yml>
- other: <https://rubygems.org/gems/dependabot-common>
- other: <https://rubygems.org/gems/dependabot-omnibus>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-26222>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-23f7-99jx-m54r> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-26222> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-26222>
