CVE-2021-26541Gitlog Project Gitlog
Critical 9.8 No auth needed
Follow: this CVE · Gitlog Project · Gitlog Project Gitlog We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 5.4% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Feb 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.
What to do
- Apply the vendor's security update for Gitlog.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | gitlog |
< 4.0.4 |
4.0.4 |
npm install gitlog@4.0.4 |
Per OSV / GitHub Advisories (GHSA-67mm-m3wx-j7fr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlog_project | gitlog | < 4.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- advisory.checkmarx.net Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- www.npmjs.com Product Third Party Advisory