Coder versions 2.9.0 before 2.29.27, 2.30.0 before 2.34.12, 2.35.0 before 2.35.9, 2.36.0 before 2.36.7, and 2.37.0 before 2.37.3 contain a null pointer dereference vulnerability in the tailnet coordinator component. This flaw occurs when an authenticated user or workspace agent token holder sends a CoordinateRequest with an UpdateSelf field present but with an empty Node field, causing the coderd process to crash and disconnect all users on the affected replica.
Coder versions prior to specified fixed releases contain a credential exposure vulnerability where malicious template authors can steal session tokens. This occurs because the application substitutes $SESSION_TOKEN into external app URLs without validating the scheme or destination, allowing attackers to craft URLs that leak tokens to attacker-controlled servers. This enables impersonation of shared users or administrators.
Coder versions prior to 2.29.27, between 2.30.0 and 2.34.19, between 2.35.0 and 2.37.11, between 2.38.0 and 2.38.7, and between 2.39.0 and 2.39.1 have a vulnerability where database connection error messages expose a temporary AWS IAM database password. This occurs in API key middleware responses during database connection failures, allowing unauthenticated attackers to obtain the password and access the PostgreSQL database for 15 minutes.
CVE-2026-137548 is a vulnerability in coder versions before 2.29.27, 2.30.0 before 2.34.19, 2.35.0 before 2.37.11, and 2.38.0 before 2.38.7. It involves improper input validation of the URL scheme in the agent-supplied uri field within app status updates. This field is rendered as a clickable link on the dashboard. An attacker with a workspace agent token can exploit this to present links that redirect users to phishing sites or non-web applications.
Coder 2.6.0 before 2.29.21, 2.30.0 before 2.34.10, 2.35.0 before 2.35.8, 2.36.0 before 2.36.5, and 2.37.0 before 2.37.1 contains a denial of service vulnerability in the workspace agent dRPC API, whose handlers dereference unset request sub-messages and unconfigured Tailnet providers without recovering from panics. Attackers holding a workspace agent token can send UpdateLifecycle, UpdateStartup, or BatchUpdateMetadata messages lacking sub-messages, or call RefreshResumeToken or WorkspaceUpdates, to repeatedly crash coderd.
Coder 2.6.0 before 2.29.26, 2.30.0 before 2.34.18, 2.35.0 before 2.37.10, and 2.38.0 before 2.38.6 contains a cross-site request forgery vulnerability because CSRF exemption patterns in coderd/httpmw/csrf.go are matched as unanchored regular expressions, letting affected API routes skip CSRF token and same-origin checks. Attackers controlling a page same-site with the deployment can make signed-in users' browsers send forged POST requests that recreate dev containers or add users whose names contain derp to organizations.
Coder 2.32.0 before 2.34.17, 2.35.0 before 2.36.12, 2.37.0 before 2.37.9, and 2.38.0 before 2.38.5 contain a symlink-following flaw in the Coder Agents read_skill_file tool, which validates skill file paths lexically but follows symlinks outside the skill directory. Attackers who place a malicious skill containing a symlinked supporting file in a victim's workspace can leak other workspace files into the model context and chat history when the victim runs a chat using that skill.
The Coder VS Code extension (vscode-coder) versions from 0.1.20 up to but not including 1.14.6 allow malicious repositories to control security-sensitive settings via .vscode/settings.json. This enables execution of attacker-controlled shell commands and manipulation of critical configuration such as TLS settings and credential storage. The vulnerability affects both trusted and untrusted workspaces, requiring only that the victim open the malicious workspace. The issue is fixed in version 1.14.6.
Coder versions 2.24.0 through 2.38.1 contain a vulnerability where the web dashboard replaces the $SESSION_TOKEN placeholder in external app URLs with a full-access API key without verifying app ownership. This allows code running in a workspace to register a disguised sub-agent app with a custom protocol URL, causing the owner's click to send their API key to an attacker-controlled destination. The issue is fixed in versions 2.29.23, 2.34.14, 2.36.9, 2.37.6, and 2.38.2.
Coder 2.26.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 contains an improper authorization flaw in the external agent credentials endpoint, which returns the workspace agent token to users with only workspace read access rather than ssh permission. Authenticated users with roles such as Template Admin or Organization Admin can use the token to read the owner's private Git SSH key and Git provider OAuth tokens, and impersonate the agent to receive the owner's sessions.
Coder versions 2.28.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 contain a privilege escalation vulnerability. The flaw allows scoped API keys or OAuth2 tokens with key-creation permissions to create new API keys without restrictions on scopes, allow lists, or expiry, effectively granting full user privileges.
Coder versions 2.21.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 contain an uncontrolled resource consumption vulnerability. The issue arises because the webpushSend function reads Web Push endpoint responses without a size limit or client timeout, allowing an authenticated user to cause memory exhaustion by registering a subscription pointing to a server that returns an endless response body. This can crash the API, dashboard, and workspace connections.
CVE-2026-121967 is a path traversal vulnerability in the coder product affecting multiple versions before specific fixed releases. The flaw exists in the AI Gateway passthrough router, which improperly forwards percent-encoded dot segments without rejecting them. Authenticated users can exploit this to access unintended provider endpoints using the deployment's centrally managed provider key. The vulnerability has a low CVSS score and is fixed in several subsequent releases.
Coder versions before 2.29.21, 2.30.0 before 2.34.12, 2.35.0 before 2.35.9, 2.36.0 before 2.36.7, and 2.37.0 before 2.37.4 contain a vulnerability where the audience claim of Google Compute Engine (GCE) instance-identity JWTs is not validated at the POST /api/v2/workspaceagents/google-instance-identity endpoint. This allows attackers who obtain a valid identity token for a different relying party to replay it and obtain a workspace agent's session token, which remains valid until the next workspace build.
Coder versions prior to 2.34.7 have an IP spoofing vulnerability in the ExtractRealIPAddress middleware. This flaw causes the software to trust the leftmost client-supplied X-Forwarded-For header value instead of the IP appended by a reverse proxy. Attackers can exploit this to bypass per-IP rate limits on login, one-time passcode, and password validation endpoints, enabling brute-force attacks and falsifying IP addresses in audit logs.
Coder versions before 2.29.17, 2.30.0 before 2.32.7, 2.33.0 before 2.33.8, and 2.34.0 before 2.34.2 contain a user enumeration vulnerability. This occurs because the userpassword.Compare() function substitutes a placeholder hash derived from the string "hunter2" when a stored password hash is empty. Unauthenticated attackers can exploit this by submitting logins with the password "hunter2" and distinguishing HTTP 403 from 401 responses to enumerate valid user accounts and reveal the authentication provider of SSO-only users.
Coder versions before 2.29.17, 2.32.7, 2.33.8, and 2.34.2 contain a stored HTML injection vulnerability. This occurs because the ApplicationName and LogoURL settings are rendered into HTML output without proper escaping. Attackers with Owner role privileges can inject malicious HTML that appears in the Coder dashboard and SMTP notification emails.
Coder versions from 2.26.0 up to but not including 2.34.8 have an authorization flaw in the GET /api/v2/workspaces/{id}/acl endpoint. This flaw allows authenticated users with workspace use access to retrieve sensitive information about group members, including emails, login types, status, and timestamps, due to insufficient authorization checks. The issue is fixed in version 2.34.8.
Coder versions from 2.30.0 up to but not including 2.34.8 contain an authorization bypass vulnerability in the provisioner daemon's DownloadFile gRPC handler. This flaw allows authenticated provisioner daemons with an organization-scoped key and knowledge of a file UUID to download cached Terraform module archives belonging to other organizations. Such unauthorized access can expose sensitive infrastructure details and embedded secrets. The vulnerability is fixed in version 2.34.8.
Coder versions from 2.0.0 up to but not including 2.34.8 have an authorization vulnerability where the acl_allow rule fails to verify organization membership for per-user ACL entries. This flaw allows authenticated users who have been removed from an organization to retain access to organization-scoped resources such as templates and workspaces via the API.