All reports
Critical

OS command injection in ripgrep

Affected versions

Version ranges need review.

Rust / Cargogrep-cli
Affected versions
< 0.1.6
Fixed version
0.1.6
Rust / Cargogrep-cli
Affected versions
>=0.0.0-0 <0.1.6
Fixed version
0.1.6
Rust / Cargoripgrep
Affected versions
< 13.0.0
Fixed version
13.0.0

Exploitation

CVE-2021-3013

Probability of exploitation in the next 30 days: 1.93%

FIRST EPSS · 2026-11-21

Description

ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working directory via the -z/--search-zip or --pre flag.

Links