CVE-2020-7630
CRITICAL 9.8CVSS 3.1OS Command Injection in git-add-remote
git-add-remote through 1.0.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the name argument.
- Published
- 2 Apr 2020
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-h9v8-rm3m-5h5fSNYK-JS-GITADDREMOTE-564269
- Sources
- NVDJSONOSV GHSA-h9v8-rm3m-5h5fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | git-add-remote_project | git-add-remotecpe:2.3:a:git-add-remote_project:git-add-remote:*:*:*:*:*:node.js:*:* |
<= 1.0.0 | |
| OSV | npm | git-add-remote | <= 1.0.0 |
References
- https://github.com/jonschlinkert/git-add-remote/blob/master/index.js#L21%2C
- https://snyk.io/vuln/SNYK-JS-GITADDREMOTE-564269 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7630 · ADVISORY
- https://github.com/jonschlinkert/git-add-remote/blob/master/index.js#L21 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 2 Apr 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Feb 2022)