npmWorst: Critical4 advisories

code-server: known vulnerabilities

code-server has 4 reviewed security advisories in the GitHub Advisory Database — 1 critical, 2 high, 1 moderate. The most recent was published 2025-05-09. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the code-server versions running across your servers, containers and images, and ranks what to patch first.

How to fix code-server

Upgrade code-server to a release at or above the fixed version shown for each advisory below. For npm:

npm install code-server@4.99.4 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

code-server's session cookie can be extracted by having user visit specially crafted proxy URL High 8.3 CWE-441 — Affected: before 4.99.4. Fixed in 4.99.4. Published 2025-05-09. GHSA-p483-wpfp-42cj · CVE-2025-47269
code-server vulnerable to Missing Origin Validation in WebSockets Critical 9.3 CWE-1385 CWE-346 — Affected: before 4.10.1. Fixed in 4.10.1. Published 2023-03-23. GHSA-frjg-g767-7363 · CVE-2023-26114
Inefficient Regular Expression Complexity in code-server High 7.5 CWE-1333 — Affected: before 3.12.0. Fixed in 3.12.0. Published 2021-09-17. GHSA-49x3-8228-3w3m · CVE-2021-3810

Find code-server across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.