[From nobody Sun Oct 11 12:55:10 2026
Received: (at submit) by bugs.debian.org; 2 Oct 2026 14:51:21 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-108.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FOURLA,FROMDEVELOPER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 25; hammy, 150; neutral, 55; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;carnil@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:59958)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;carnil@debian.org&gt;) id 1xCebY-003ffW-31
 for submit@bugs.debian.org; Fri, 02 Oct 2026 14:51:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=dzkI3IZSgMUgoRfSqfGdCqIPFl2rGhOivOxFfghRfhs=; b=I/aEFD/vRI2Sn7TJfjrciXGuHJ
 JgqPu0Sjpi+yFKHAAHI7DGvRYFjAKOET2w5k4tzXM+dzOb2EHZto17z14ZYfTNwmnd88lAVa6iPfQ
 WS9Rp/QclWoVkijnYNbvuKzJNnF0vK5P7ecrtHl+HSRB5YuHoURP16cv4bT7TsOTDhYQme7vHQRCw
 XjHEkXBJSaUSf3ONpMQmd1DfTN4JXkVEdG0FuUNy0evsG7dNWZ1kFaatO/frrhD9y8YL9GhItaEmp
 DG5XbqHezqHdMhpjqMU6eWqKcI3nFc2j/UWpPvL7NbNYoTGRnqs36gv0TityQKFODEnmK675rTIiU
 5Jz9mlsg==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;carnil@debian.org&gt;) id 1xCebX-000wUk-2h
 for submit@bugs.debian.org; Fri, 02 Oct 2026 14:51:20 +0000
Received: by eldamar.lan (Postfix, from userid 1000)
 id 6B693DC05AA; Fri, 02 Oct 2026 16:51:19 +0200 (CEST)
Date: Fri, 2 Oct 2026 16:51:19 +0200
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: submit@bugs.debian.org
Subject: node-shell-quote: CVE-2026-102422
Message-ID: &lt;ar_E5zPSgiF2-1Al@eldamar.lan&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
Delivered-To: submit@bugs.debian.org

Source: node-shell-quote
Version: 1.10.0-1
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security upstream

Hi,

The following vulnerability was published for node-shell-quote.

CVE-2026-102422[0]:
| shell-quote's `quote()` function emits a `{ comment }` token as `#`
| followed by its text, which comments out the rest of the shell line,
| including the opening quote of any later string token. A line
| terminator (\n, \r, U+2028, U+2029) in that later string therefore
| ends the comment, and the rest of the string is parsed as shell
| input: `quote(['echo', 'ok', { comment: 'x' }, 'a\nid;#'])` runs
| `id` in sh, bash, dash, ksh and zsh. `parse()` emits a comment token
| for a `#` in the middle of a word (for example
| `http://example.com/#frag`), so callers that combine `parse()`
| output with another untrusted string, such as
| `quote(parse(untrustedCommand).concat(untrustedArg))`, are affected.
| The fix for CVE-2026-9277 rejected line terminators in the comment's
| own text, but not in the tokens after it. Fixed in 1.11.0: `quote()`
| throws a `TypeError` when a string after a `{ comment }` token
| contains a line terminator.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-102422
    https://www.cve.org/CVERecord?id=CVE-2026-102422
[1] https://github.com/ljharb/shell-quote/security/advisories/GHSA-pqg4-j6r4-53mv
[2] https://github.com/ljharb/shell-quote/commit/6002b2ed90c6b83095eb272b6b0adaf3a172b0bc

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
]