CVE-2023-26114
JavaScript vulnerability analysis and mitigation

Overview

CVE-2023-26114 affects code-server versions before 4.10.1, exposing a Missing Origin Validation vulnerability in WebSockets handshakes. The vulnerability was discovered and disclosed on March 22, 2023, and affects the code-server package distributed through npm (NVD, Snyk).

Technical details

The vulnerability stems from missing origin validation in WebSocket handshakes, which could allow unauthorized access to code-server instances. The issue has been assigned CWE-346 (Origin Validation Error) and CWE-1385 (Missing Origin Validation in WebSockets). The vulnerability has received a CVSS v3.1 base score of 9.3 (CRITICAL) from NIST and 8.2 (HIGH) from Snyk, with attack vectors being network-based and requiring user interaction (NVD).

Impact

When exploited, this vulnerability can allow an adversary to access data from and connect to the code-server instance. The vulnerability is particularly concerning for users of older or niche browsers that do not support SameSite cookies and those who access code-server under a shared domain with other users on separate sub-domains (GitHub Release).

Mitigation and workarounds

The vulnerability has been patched in version 4.10.1 of code-server. Users should upgrade to this version or higher to mitigate the risk. For those using a reverse proxy, it's essential to ensure that the host header is properly forwarded, as the security fix requires the host header to be set for proper origin validation (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23744CRITICAL9.8
  • JavaScriptJavaScript
  • @mcpjam/inspector
NoYesJan 16, 2026
CVE-2026-23735HIGH8.7
  • JavaScriptJavaScript
  • graphql-modules
NoYesJan 16, 2026
GHSA-gw32-9rmw-qwwwHIGH8.4
  • JavaScriptJavaScript
  • svelte
NoYesJan 16, 2026
CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • tar
NoYesJan 16, 2026
GHSA-38cw-85xc-xr9xMEDIUM6.8
  • JavaScriptJavaScript
  • @veramo/data-store
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management