{"id":"CVE-2021-26541","aliases":["EUVD-2021-0771","GHSA-67mm-m3wx-j7fr"],"status":"published","title":"Command injection in gitlog","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.05427,"percentile":0.92819,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-78"],"published":"2021-02-08T16:16:08Z","modified":"2026-10-20T10:54:34Z","fixes":[{"ecosystem":"npm","package":"gitlog","fixed_in":["4.0.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"gitlog","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.4"}]}]},{"source":"osv","ecosystem":"npm","package":"gitlog","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.4"}]}]}],"products":[{"vendor":"gitlog_project","product":"gitlog"}],"references":[{"url":"https://github.com/domharrington/node-gitlog/pull/65","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.npmjs.com/package/gitlog","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4301","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26541","tags":["advisory"]},{"url":"https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4","tags":["web"]},{"url":"https://github.com/advisories/GHSA-67mm-m3wx-j7fr"},{"url":"https://github.com/domharrington/node-gitlog","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-26541","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","status":"published","published":"2021-02-08T16:16:08Z","modified":"2024-08-03T20:26:25.447Z","updated_at":"2026-11-02T14:32:57.033395Z"}],"euvd":[{"id":"EUVD-2021-0771","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","status":"published","published":"2021-02-08T16:16:08Z","modified":"2024-08-03T20:26:25Z","updated_at":"2026-11-03T03:24:51.962182Z"}],"ghsa":[{"id":"GHSA-67mm-m3wx-j7fr","title":"Command injection in gitlog","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","status":"published","published":"2021-04-13T15:15:29Z","modified":"2023-02-01T05:05:09Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:32.918681Z"}],"nvd":[{"id":"CVE-2021-26541","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","status":"published","published":"2021-02-08T17:15:13.8Z","modified":"2026-06-17T03:43:27.52Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"CVE-2021-26541","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","status":"published","published":"2021-02-08T17:15:13.8Z","modified":"2026-10-20T10:54:34.674289125Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-67mm-m3wx-j7fr","title":"Command injection in gitlog","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","status":"published","published":"2021-04-13T15:15:29Z","modified":"2023-11-08T04:05:21.217174Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
