Coder versions before 2.29.20, 2.33.12, 2.34.8, and 2.35.4 contain a hostname validation flaw in the GetWorkspaceProxyByHostname function. The flaw causes a prefix match on domain names, allowing attackers controlling a domain that is a prefix of a workspace-proxy URL to trick authenticated users into visiting a crafted link. This enables attackers to capture and replay application_connect API keys to access victim workspace applications.
Coder versions before 2.23.0 have a session expiration bypass vulnerability. Authenticated users can maintain access after their OIDC token expires if no refresh token is issued. This occurs because the APIKey cookie remains active and can be extended through regular use every 24 hours, allowing indefinite access despite loss of OIDC authorization.
Coder versions 2.3.1 before 2.14.4, 2.15.x before 2.15.3, and 2.16.0 before 2.16.1 have an open redirect vulnerability in the login page. This occurs because the redirect query parameter is not properly sanitized, allowing attackers to craft login URLs that redirect logged-in users to attacker-controlled sites, potentially facilitating phishing attacks. The issue is fixed in versions 2.14.4, 2.15.3, and 2.16.1.
CVE-2026-35454 is a high-severity path traversal vulnerability in coder/code-marketplace versions prior to 2.4.2. The vulnerability, known as Zip Slip, allows a malicious VSIX file to write arbitrary files outside the intended extension directory. This occurs because the ExtractZip function passes raw zip entry names to a callback that writes files using filepath. Join without properly restricting the resulting path, enabling directory traversal via '.. ' components. The issue is fixed in version 2.4.2.
Coder versions prior to 2.26.5, 2.27.7, and 2.28.4 log Workspace Agent manifests containing sensitive values in plaintext without sanitization. This allows attackers with limited local access to the Coder Workspace or access to third-party logging systems to read sensitive information from logs. The issue is fixed in versions 2.26.5, 2.27.7, and 2.28.4.
AgentAPI is an HTTP API for Claude Code, Goose, Aider, Gemini, Amp, and Codex. Versions 0.3.3 and below are susceptible to a client-side DNS rebinding attack when hosted over plain HTTP on localhost. An attacker can gain access to the /messages endpoint served by the Agent API. This allows for the unauthorized exfiltration of sensitive user data, specifically local message history, which can include secret keys, file system contents, and intellectual property the user was working on locally. This issue is fixed in version 0.4.0.