CVE-2023-26114
code-server vulnerable to Missing Origin Validation in WebSockets
Reported by snyk · Published March 23, 2023
code-server is fixed in 4.10.1 (npm)
Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes. Exploiting this vulnerability can allow an adversary in specific scenarios to access data from and connect to the code-server instance.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| code-server | npm | 4.10.1 |
| code-server | n/a | 4.10.1 |
| code-server | coder | 4.10.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | code-server | 0 |
| n/a | code-server | 0 |
| chainguard | code-server | * |
| npm | code-server | 0 |
| wolfi | code-server | * |
Timeline
- Mar 23, 2023 CVE Published
- Mar 23, 2023 EPSS Score (30 in total, the first dated here)
- Mar 23, 2023 PoC Published
- Feb 19, 2026 CVE Updated
- Mar 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-26114
vulnetix vdb fixes CVE-2023-26114
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-26114/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart