Advisory record · GHSA-pqg4-j6r4-53mv

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

CVSS 9.2 CriticalCriticalEPSS 0.0048 · 41st percentile

Critical, because:

  • CVSS score 9.2: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 6 Oct 2026, 13:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
shell-quotenpm>=1.8.4, <1.11.01.11.0
Identifiers
GHSA-pqg4-j6r4-53mv · CVE-2026-102422
Weakness (CWE)
CWE-78
Published
6 Oct 2026
Updated
6 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The npm package shell-quote, versions 1.8.4 before 1.11.0, allows command injection through quote() when a string after a comment token contains a line terminator. An attacker who supplies such a string to a quote() call whose output reaches a shell can run arbitrary commands. Upgrade to 1.11.0, which makes quote() throw a TypeError in this case; until then, reject line terminators in untrusted input.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.2 Critical 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (harborist)
  • CISA KEV Not listed.
  • EPSS 0.0048, the 41st percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:34 UTC First seen by agentprime
  2. 31 Oct 2026, 13:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.