9.2

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

Deferred
AliasesRHSA-2026:69544RHSA-2026:72750UBUNTU-CVE-2026-102422
Published 29-09-2026Last modified 30-09-2026

Vulnerability summary

CVE-2026-102422 is a critical (CVSS 9.2) vulnerability in code-server. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 43% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.2/10
010
Critical · v4.0 (CVE.org)
EPSS score
0.48%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 2 · Downstream 6 · Related 2

Timeline

  1. 29-09-2026
    PublishedVulnerability first disclosed.
  2. 30-09-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

12 scores · 8 sources · 2 versions

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

Increase +0.10 pp

From 0.38% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard23 products
  • arangodb-3.12< 3.12.12.1-r5
  • code-server< 4.141.0-r1
  • commercial-gitlab-rails-ee-19.1< 19.1.7-r3
  • commercial-gitlab-rails-ee-19.2< 19.2.7-r1
  • commercial-gitlab-rails-ee-19.3< 19.3.3-r1
Redhat2 products
  • jaeger< 0:2.20.0-0.11.hum1
  • prometheus3.13< 0:3.13.3-0.2.hum1
Wolfi2 products
  • code-server< 4.141.0-r1
  • renovate< 44.133.0-r2
Debian1 product
  • node-shell-quoteAll versions (No fix recorded) | < 1.7.4+~1.7.1-1+deb12u2 | < 1.7.4+~1.7.1-1+deb13u2 | < 1.12.0-1
Npm1 product
  • shell-quote≥ 1.8.4, < 1.11.0
Ubuntu1 product
  • node-shell-quoteAll versions (No fix recorded) | < 1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm2 | < 1.7.3+~1.7.1-1ubuntu0.1~esm2 | < 1.7.4+~1.7.1-1ubuntu0.24.04.1+esm1 | < 1.8.3+~1.7.5-1ubuntu0.1~esm2

6 vendors · 30 products

References

35 links
Show all 35 references