{"id":"CVE-2021-26541","aliases":["CVE-2021-26541","GHSA-67mm-m3wx-j7fr"],"related":[],"kind":"vulnerability","state":"published","title":"Command injection in gitlog","summary":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","source":"cvelist"},{"lang":"es","text":"La función gitlog en el archivo src/ index.ts en gitlog anterior a versión 4.0.4, presenta una vulnerabilidad de inyección de comandos","source":"nvd"}],"published":"2021-02-08T16:16:08.000Z","modified":"2026-06-17T03:43:27.520Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.0.4"}],"ecosystem":"npm","package":"gitlog","purl":"pkg:npm/gitlog","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.0.4"}],"vendor":"gitlog_project","product":"gitlog","cpe":"cpe:2.3:a:gitlog_project:gitlog:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/domharrington/node-gitlog/pull/65","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.npmjs.com/package/gitlog","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4301","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26541","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/domharrington/node-gitlog","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26541","url":"https://www.cve.org/CVERecord?id=CVE-2021-26541","licence":"CVE Terms of Use","modified":"2024-08-03T20:26:25.447Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-67mm-m3wx-j7fr","url":"https://github.com/advisories/GHSA-67mm-m3wx-j7fr","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:21.217Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26541","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26541","licence":"Public domain","modified":"2026-06-17T03:43:27.520Z"}],"updatedAt":"2026-11-25T22:57:59.839Z","epss":{"score":0.05427,"percentile":0.92883,"date":"2026-12-01T12:00:22.000Z"}}