CVE-2026-42302: Code Server Auth None Unauthenticated Rce

code-server is started with '--auth none', completely disabling all authentication. Any user with network access to the bound port can open the VS Code IDE without credentials and execute arbitrary commands inside the container (CVE-2026-42302 / CWE-306). Replace '--auth none' with '--auth password' or '--auth cookie', and bind to 127.0.0.1 rather than 0.0.0

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Bash
greprules fetch cve-2026-42302-code-server-auth-none-unauthenticated-rce --engine opengrep

Description

code-server is started with '--auth none', completely disabling all authentication. Any user with network access to the bound port can open the VS Code IDE without credentials and execute arbitrary commands inside the container (CVE-2026-42302 / CWE-306). Replace '--auth none' with '--auth password' or '--auth cookie', and bind to 127.0.0.1 rather than 0.0.0