Skip to content
skopnix

NVD published 29 Sep 2026

CVE-2026-102422

2 public exploits.

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.

Signals

KEV, exploited in the wild
no
EPSS, 30-day forecast
0.5%, 43th percentile (as of 4 Dec 2026)
CVSS, NVD, HIGH
8.1
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Internet exposure
not stated

Not in CISA's catalogue as of the last daily pull. Absence is not proof of safety.

Timeline 29 Sep 2026 to today

8 days from disclosure to the first proof of concept
Disclosed 29 Sep 2026First PoC 7 Oct 2026today
  1. Disclosed
  2. First PoC+8 d

8 days from disclosure to the first proof of concept

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 1 dispatch

  1. GHSA-pqg4-j6r4-53mv: shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token

Public exploit code 2 known · links only

GitHub PoCs 2Metasploit 0Exploit-DB 0

GitHub PoCs, by trust then stars2

  1. DevVaibhav07/CVE-2026-102422Trust ok 1000 stars

    CVE-2026-102422 POC

    created 7 Oct 2026

  2. Offline educational model of CVE-2026-102422 (shell-quote comment line terminator)

    created 9 Nov 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check