Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-7630

git-add-remote through 1.0.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the name argument.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-7630
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:30 UTC · Revision 1

Source evidence

CVE-2020-7630

core-osv · Original source

Published 2 Apr 2020, 22:15 UTC

git-add-remote through 1.0.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the name argument.

osv:CVE-2020-7630
Complete source record
{
  "id": "e00e831cd27af8d5c88caee4a123cf53eb39904ed3517884d5e60f7b46d99d2e",
  "url": "https://osv.dev/vulnerability/CVE-2020-7630",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-7630",
    "summary": "git-add-remote through 1.0.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the name argument.",
    "evidence": "osv:CVE-2020-7630",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-7630",
      "aliases": [
        "CVE-2020-7630",
        "GHSA-h9v8-rm3m-5h5f",
        "SNYK-JS-GITADDREMOTE-564269"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jonschlinkert/git-add-remote",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "788e68a76f1abb3b73b544cc41d1cbb5c60b2875"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:git-add-remote_project:git-add-remote:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7630.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:24.075823391Z",
      "provider": "osv",
      "references": [
        "https://github.com/jonschlinkert/git-add-remote/blob/master/index.js#L21%2C",
        "https://snyk.io/vuln/SNYK-JS-GITADDREMOTE-564269"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-7630",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385286,
  "published_at": "2020-04-02T22:15:14.097+00:00"
}