{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-26541","id":"CVE-2021-26541","title":"Command injection in gitlog","description":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","descriptionLong":"The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.","published":"2021-02-08T16:16:08.000Z","updated":"2026-10-20T10:54:34.674289125Z","reserved":"2021-02-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"critical","source":"NVD"},"metrics":[{"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","rating":"critical","source":"NVD"},{"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","rating":"critical","source":"OSV"},{"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","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"gitlog","purl":"pkg:npm/gitlog","ranges":["<4.0.4"],"fixed":["4.0.4"],"advisory":"GHSA-67mm-m3wx-j7fr"}],"cwes":["CWE-78","CWE-77"],"aliases":["GHSA-67mm-m3wx-j7fr"],"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/domharrington/node-gitlog","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.05427,"epssPercentile":0.92876,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-26541","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26541","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-26541","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-67mm-m3wx-j7fr","ok":true,"note":"GHSA-67mm-m3wx-j7fr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-26541","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}