Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. dependabot-core
  4. ›
  5. CVE-2020-26222

CVE-2020-26222: Injection Vulnerability

November 13, 2020 (updated December 3, 2020)

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 beta1, 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. As a workaround, one can escape the branch name prior to passing it to the Dependabot::Source class.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-26222

Code Behaviors & Features

Detect and mitigate CVE-2020-26222 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.119.0 up to 0.125.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

gem/dependabot-core/CVE-2020-26222.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.