ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs…
Priority MEDIUM 46CWE-78Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
EPSS 0.01934 80th percentileScored 2026-11-07
Fix Fixed ripgrep (crates.io): 13.0.0grep-cli (crates.io): 0.1.6
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | ripgrep (crates.io) | before 13.0.0 | 13.0.0 | Patch available | GHSA-g4xg-fxmg-vcg5 |
| — | grep-cli (crates.io) | before 0.1.6 | 0.1.6 | Patch available | GHSA-g4xg-fxmg-vcg5 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- ripgrep (crates.io) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-g4xg-fxmg-vcg5
- grep-cli (crates.io) Vendor— Affected before 0.1.6 Fixed in 0.1.6 Patch available GHSA-g4xg-fxmg-vcg5
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ripgrep_project:ripgrep:*:*:*:*:*:*:*:* | before 13.0.0 | Vulnerable | Ripgrep Project |
| cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Microsoft |
- cpe:2.3:a:ripgrep_project:ripgrep:*:*:*:*:*:*:*:* Versions before 13.0.0 Vulnerable ·Ripgrep Project
- cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft
Remediation
- Fix · GHSA-g4xg-fxmg-vcg5 ripgrep (crates.io) Fixed in 13.0.0 Advisory →
- Fix · GHSA-g4xg-fxmg-vcg5 grep-cli (crates.io) Fixed in 0.1.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3013
- 2026-10-03 Alias added: GHSA-g4xg-fxmg-vcg5
References
Advisory 2
Sources
- CVE-2021-3013 · CVE Program
- CVE-2021-3013 · NVD
- FIRST EPSS
- GHSA-g4xg-fxmg-vcg5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences