CVE-2021-26543
HIGH 8.8CVSS 3.1Command injection in git-parse
The "gitDiff" function in Wayfair git-parse <=1.0.4 has a command injection vulnerability. Clients of the git-parse library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. The issue has been resolved in version 1.0.5.
- Published
- 6 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74CWE-78
- Also known as
- GHSA-m744-2jj8-vpfv
- Sources
- NVDJSONOSV GHSA-m744-2jj8-vpfvJSON
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:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wayfair | git-parsecpe:2.3:a:wayfair:git-parse:*:*:*:*:*:node.js:*:* |
< 1.0.5 | 1.0.5 |
| OSV | npm | git-parse | < 1.0.5 | 1.0.5 |
References
- https://advisory.checkmarx.net/advisory/CX-2020-4302 · Exploit, Third Party Advisory, WEB
- https://www.npmjs.com/package/git-parse · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-26543 · ADVISORY
- https://github.com/wayfair/git-parse · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 6 May 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Feb 2022)