# CVE-2022-21186: Arbitrary Command Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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): 26.1%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-05T05:00:18.167Z
- Modified: 2026-06-17T04:25:42.347Z
- Also known as: GHSA-m2fc-9h5m-29cm
- Weaknesses: CWE-77
- Assigned by: snyk

## Description

The package @acrontum/filesystem-template before 0.0.2 are vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.

(As written by CVE List.)

## Affected

- @acrontum/filesystem-template: from unspecified before 0.0.2
- @acrontum/filesystem-template (npm): before 0.0.2
- acrontum filesystem-template: before 0.0.2

## Every score

- snyk: 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/E:P`
- 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`

## References

- <https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071> (exploit, third-party-advisory, web)
- <https://github.com/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21186> (advisory)
- <https://github.com/acrontum/filesystem-template/issues/13> (web)
- <https://github.com/acrontum/filesystem-template/commit/baeb727b60991ad82d9e63ac660883793abc0acc> (web)
- <https://github.com/acrontum/filesystem-template> (package)

## Sources

- CVE List: [CVE-2022-21186](https://www.cve.org/CVERecord?id=CVE-2022-21186), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-m2fc-9h5m-29cm](https://github.com/advisories/GHSA-m2fc-9h5m-29cm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-21186](https://nvd.nist.gov/vuln/detail/CVE-2022-21186), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21186 · Whole record: https://cve.day/CVE-2022-21186.json · Rebuilt by cve.day 2026-11-25T22:58:13.409Z
