9.2

CVE-2026-102422: code-server OS Command Injection

CVSS: 9.2v4.0CriticalDeferred
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) OS Command Injection vulnerability in code-server. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.8% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.2/10
010
Critical · v4.0 (CVE.org)
EPSS score
0.38%
0%100%
Low · Change unavailable
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 2 · Downstream 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.38%

Chance of exploitation in the next 30 days

Percentile

31%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

29-09-202620-10-2026
EPSS score
0.38%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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+deb13u2 | < 1.12.0-1
Npm1 product
  • shell-quote≥ 1.8.4, < 1.11.0
Ubuntu1 product
  • node-shell-quoteAll versions (No fix recorded)

6 vendors · 30 products

References

34 links
Show all 34 references