Read the docs
TI-2021-02154 Aliases CVE-2021-3013GHSA-g4xg-fxmg-vcg5

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—ripgrep (crates.io)before 13.0.013.0.0Patch availableGHSA-g4xg-fxmg-vcg5
—grep-cli (crates.io)before 0.1.60.1.6Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:ripgrep_project:ripgrep:*:*:*:*:*:*:*:*before 13.0.0VulnerableRipgrep Project
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*not specified by NVDRunning onMicrosoft
  • 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

  1. 2026-10-02 Threatist record created from CVE-2021-3013
  2. 2026-10-03 Alias added: GHSA-g4xg-fxmg-vcg5

References

Sources