CVE-2026-102422: shell-quote · OS Command Injection
Affects shell-quoteSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.1 High : upgrade to 1.11.0 soon.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.11.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade shell-quote to 1.11.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| shell-quote | Affected
| Fixed in
|
npmshell-quotepkg:npm/shell-quoteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade shell-quote to version 1.11.0 or later, where the quote() function throws a TypeError if a string after a comment token contains a line terminator, effectively preventing this OS command injection. No other mitigations are indicated. Patch status is confirmed fixed in 1.11.0.
Description
CVE-2026-102422 is a high-severity OS command injection vulnerability in the shell-quote library's quote() function. The vulnerability arises because comment tokens emitted as # followed by text can comment out the rest of a shell line, allowing line terminators in subsequent string tokens to end the comment and cause unintended shell command execution. This affects versions from 1.8.4 up to but not including 1.11.0. The issue was fixed in version 1.11.0 by making quote() throw a TypeError when a string after a comment token contains a line terminator.