Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Ripgrep versions before 13.0.0 and grep-cli versions before 0.1.6 are affected. On Windows, an attacker who can get a user to run ripgrep in a directory they control can cause arbitrary programs in the current working directory to execute via the -z/--search-zip or --pre flag. Upgrade ripgrep to 13.0.0 or later and grep-cli to 0.1.6 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.019, the 80th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:21 UTC First seen by agentprime
- 31 Oct 2026, 15:21 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-g4xg-fxmg-vcg5
- OSV: GHSA-g4xg-fxmg-vcg5
- nvd.nist.gov/vuln/detail/CVE-2021-3013
- github.com/BurntSushi/ripgrep/issues/1773
- github.com/BurntSushi/ripgrep
- github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md
- github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md
- github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md#1300-2021-06-12
- rustsec.org/advisories/RUSTSEC-2021-0071.html