CVE-2021-26541
CRITICAL 9.8CVSS 3.1Command injection in gitlog
The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.
- Published
- 8 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-67mm-m3wx-j7fr
- Sources
- NVDJSONOSV GHSA-67mm-m3wx-j7frJSON
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 | gitlog_project | gitlogcpe:2.3:a:gitlog_project:gitlog:*:*:*:*:*:node.js:*:* |
< 4.0.4 | 4.0.4 |
| OSV | npm | gitlog | < 4.0.4 | 4.0.4 |
References
- https://advisory.checkmarx.net/advisory/CX-2020-4301 · Exploit, Third Party Advisory, WEB
- https://github.com/domharrington/node-gitlog/pull/65 · Patch, Third Party Advisory, WEB
- https://www.npmjs.com/package/gitlog · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-26541 · ADVISORY
- https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4 · WEB
- https://github.com/domharrington/node-gitlog · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Feb 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Apr 2021)