{"id":"CVE-2022-21186","aliases":["EUVD-2022-6583","GHSA-m2fc-9h5m-29cm"],"status":"published","title":"Arbitrary Command Injection","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.","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/E:P","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.26074,"percentile":0.97999,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2022-08-05T05:00:18Z","modified":"2026-10-28T02:30:33Z","fixes":[{"ecosystem":"npm","package":"@acrontum/filesystem-template","fixed_in":["0.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@acrontum/filesystem-template","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@acrontum/filesystem-template","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.2"}]}]}],"products":[{"vendor":"acrontum","product":"filesystem-template"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21186","tags":["advisory"]},{"url":"https://github.com/acrontum/filesystem-template/issues/13","tags":["web"]},{"url":"https://github.com/acrontum/filesystem-template/commit/baeb727b60991ad82d9e63ac660883793abc0acc","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m2fc-9h5m-29cm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21186.json","tags":["advisory"]},{"url":"https://github.com/acrontum/filesystem-template","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-21186","title":"Arbitrary Command Injection","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.","status":"published","published":"2022-08-05T05:00:18.167Z","modified":"2024-09-16T22:41:10.564Z","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/E:P","level":"critical","assessor":"cna"}],"updated_at":"2026-11-02T14:34:29.478363Z"}],"euvd":[{"id":"EUVD-2022-6583","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.","status":"published","published":"2022-08-05T05:00:18Z","modified":"2024-09-16T22:41:10Z","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/E:P","level":"critical"}],"updated_at":"2026-11-03T00:55:00.660655Z"}],"ghsa":[{"id":"GHSA-m2fc-9h5m-29cm","title":"@acrontum/filesystem-template vulnerable to Command Injection due to fetchRepo API missing sanitization","description":"The package @acrontum/filesystem-template before 0.0.2 is vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.","status":"published","published":"2022-08-06T00:00:51Z","modified":"2023-08-17T05:02:13Z","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:37:00.074932Z"}],"nvd":[{"id":"CVE-2022-21186","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.","status":"published","published":"2022-08-05T05:15:07.147Z","modified":"2026-06-17T04:25:42.347Z","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":"secondary"},{"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"}],"updated_at":"2026-11-02T14:07:24.39467Z"}],"osv":[{"id":"CVE-2022-21186","title":"Arbitrary Command Injection","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.","status":"published","published":"2022-08-05T05:00:18.167Z","modified":"2026-10-28T02:30:33.81956426Z","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/E:P","level":"critical"}],"updated_at":"2026-11-02T15:44:23.655778Z"},{"id":"GHSA-m2fc-9h5m-29cm","title":"@acrontum/filesystem-template vulnerable to Command Injection due to fetchRepo API missing sanitization","description":"The package @acrontum/filesystem-template before 0.0.2 is vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.","status":"published","published":"2022-08-06T00:00:51Z","modified":"2023-11-08T04:08:04.46925Z","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:51.10002Z"}]}}
