npm package
shell-quote 1.6.1 vulnerabilities, and the version that fixes all of them
shell-quote 1.6.1 has 2 known vulnerabilities (2 rated high or critical); 1.9.0 fixes all of them. 1.9.0 has 1 known vulnerability of its own, so upgrade to 1.12.0, which has none.
npm (opens in a new tab) describes it as “quote and parse shell commands”
- Known vulnerabilities
- 2
- 2 rated high or critical
- Released
- Jun 17, 2016
- Latest is 1.12.0
- Downloads last week
- 560.9K
- Under 1% of shell-quote downloads
- Licence
- MIT
- Pulls in
- 4 packages
- Resolved by deps.dev
What to upgrade to
1.12.0 is the closest release with no known vulnerabilities that we checked.
Fixes all 2 known vulnerabilities. Released Jun 25, 2026.
1 known vulnerability, worst rated warning1.12.0Upgrade to this
Newest 1.x release and the latest release. Released Oct 2, 2026.
No known vulnerabilities
1.12.0 came out on Oct 2, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
2 known vulnerabilities in shell-quote 1.6.1
EPSS: top 44%2 rated high or critical. Most serious: CVE-2026-9277, shell-quote quote() does not escape newlines in object .op values. Upgrading to 1.9.0 fixes all of them.
- LowOutdated
shell-quote 1.6.1 is a minor version behind
Latest release is 1.12.0.
Every advisory for shell-quote 1.6.1
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
CriticalCVE-2026-9277 on OSV.dev (opens in a new tab)GHSA-w7jw-789q-3m8pEPSS: top 44%
shell-quote quote() does not escape newlines in object .op values
Fixed in 1.8.4. Published Jun 9, 2026.
CriticalCVE-2026-13311 on OSV.dev (opens in a new tab)GHSA-395f-4hp3-45gvEPSS: top 72%
shell-quote: Quadratic-complexity Denial of Service in `parse()` (CWE-407)
Fixed in 1.9.0. Published Jul 20, 2026.
Who is still on a vulnerable shell-quote
80% of last week’s 77.9M shell-quote downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is shell-quote the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly shell-quote 1.6.1, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.