# CVE-2021-44684: Command injection in github-todos

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.57%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-06T23:37:38.000Z
- Modified: 2026-06-17T04:12:41.290Z
- Also known as: GHSA-792j-9wj3-j634
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

naholyr github-todos 3.1.0 is vulnerable to command injection. The range argument for the _hook subcommand is concatenated without any validation, and is directly used by the exec function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github-todos (npm): up to 3.1.0
- github-todos_project github-todos: up to 3.1.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/dwisiswant0/advisory/issues/5> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/naholyr/github-todos/issues/34> (issue-tracking, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44684> (advisory)
- <https://advisory.dw1.io/5> (web)

## Sources

- CVE List: [CVE-2021-44684](https://www.cve.org/CVERecord?id=CVE-2021-44684), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-792j-9wj3-j634](https://github.com/advisories/GHSA-792j-9wj3-j634), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-44684](https://nvd.nist.gov/vuln/detail/CVE-2021-44684), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-44684 · Whole record: https://cve.day/CVE-2021-44684.json · Rebuilt by cve.day 2026-11-25T22:24:36.157Z
