CVE-2023-26114: high-severity vulnerability in code-server
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Code-server versions before 4.10.1 fail to properly validate the source of WebSocket connections, allowing an attacker to trick the server into accepting connections from untrusted websites and accessing sensitive data or functionality.
The vulnerability exists in WebSocket handshake validation where the origin header is not properly verified (CWE-1385, CWE-346). An attacker can establish a WebSocket connection from a malicious origin to a vulnerable code-server instance, bypassing CORS protections and gaining unauthorized access to data and server functionality without requiring direct authentication.