shell-quote
npm3 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting shell-quotepage 1 of 1
- CVE-2016-10541CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.6.12018-05-31
The npm module "shell-quote" 1.6.0 and earlier cannot correctly escape ">" and "<" operator used for redirection in shell. Applications that depend on shell-quote may also be vulnerable. A malicious user could perform code injection.
- CVE-2021-42740CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.7.32021-10-21
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real s…
- CVE-2026-9277HIGHCVSS 8.1EG 8.1✓ Fixed in 1.8.42026-05-22
shell-quote's `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line termin…
Check whether shell-quote is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for shell-quote CVEs against the assets you own.
Start Free Scan →