npm package

shell-quote vulnerabilities by version

The latest release, 1.12.0 (Oct 2, 2026), has no known vulnerabilities. 80% of last week’s 77.9M downloads went to versions with known vulnerabilities. OSV.dev lists 5 advisories for shell-quote; the newest was published on Oct 6, 2026.

npm (opens in a new tab) describes it as “quote and parse shell commands”

Latest release
1.12.0
Oct 2, 2026, no known vulnerabilities
Downloads last week
77.9M
All versions, from npm
Advisories on OSV.dev
5
Newest Oct 6, 2026
Licence
MIT

Most-downloaded versions last week

From npm’s per-version download counts for the last 7 days, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.

VersionKnown vulnerabilitiesDownloads
1.10.0Jul 10, 20261 known vulnerability, worst rated critical19.9M
1.8.3Jun 2, 20252 known vulnerabilities, worst rated critical14.2M
1.12.0latestOct 2, 2026No known vulnerabilities11.6M
1.9.0Jun 25, 20261 known vulnerability, worst rated critical9.7M
1.8.4May 22, 20262 known vulnerabilities, worst rated critical8M
1.8.1Apr 7, 20232 known vulnerabilities, worst rated critical4.3M
1.11.0Sep 29, 2026No known vulnerabilities4.1M
1.8.2Nov 27, 20242 known vulnerabilities, worst rated critical2.4M

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.

Release lines

The newest release of each major line, from the registry. shell-quote doesn’t publish support dates we can check.

LineNewest releaseReleased
11.12.0Oct 2, 2026
0.10.1.1Apr 17, 2013
0.00.0.1May 18, 2012

Newest advisories

The 5 most recently published, with the versions each one affects.

  1. CriticalCVE-2026-102422 on OSV.dev (opens in a new tab)GHSA-pqg4-j6r4-53mv

    shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token

    Affects >= 1.8.4, < 1.11.0. Published Oct 6, 2026.

  2. CriticalCVE-2026-13311 on OSV.dev (opens in a new tab)GHSA-395f-4hp3-45gv

    shell-quote: Quadratic-complexity Denial of Service in `parse()` (CWE-407)

    Affects < 1.9.0. Published Jul 20, 2026.

  3. CriticalCVE-2026-9277 on OSV.dev (opens in a new tab)GHSA-w7jw-789q-3m8p

    shell-quote quote() does not escape newlines in object .op values

    Affects >= 1.1.0, < 1.8.4. Published Jun 9, 2026.

  4. CriticalCVE-2021-42740 on OSV.dev (opens in a new tab)GHSA-g4rg-993r-mgx7

    Improper Neutralization of Special Elements used in a Command in Shell-quote

    Affects >= 1.6.3, < 1.7.3. Published May 24, 2022.

  5. CriticalCVE-2016-10541 on OSV.dev (opens in a new tab)GHSA-qg8p-v9q4-gh34

    Potential Command Injection in shell-quote

    Affects < 1.6.1. Published Feb 18, 2019.

Which shell-quote do you have?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism reads every OSV.dev advisory for shell-quote, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against OSV.dev, CISA KEV, npm and deps.dev.