All reports
Critical

OS Command Injection in async-git

Affected versions

Affected versions
< 1.13.2
Fixed version
1.13.2

Exploitation

CVE-2021-3190

Probability of exploitation in the next 30 days: 5.39%

FIRST EPSS · 2026-11-21

Description

The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. Ensure to sanitize untrusted user input before passing it to one of the vulnerable functions as a workaround or update async-git to version 1.13.1.

Links