Improper Authorization in Coder by Coder - External Agent Credentials Endpoint Vulnerability
CVE-2026-126403
8.5HIGH
What is CVE-2026-126403?
An authorization flaw exists in Coder products prior to version 2.38.4, where users are improperly granted access to the external agent credentials endpoint. This vulnerability allows authenticated users, particularly those with Template Admin or Organization Admin roles, to receive the workspace agent token without the necessary SSH permissions. As a result, these users can access sensitive information including the owner's private Git SSH key and OAuth tokens, enabling them to impersonate the agent and gain unauthorized access to the owner's sessions.
Affected Version(s)
coder 2.38.0 < 2.38.4
coder 2.37.0 < 2.37.8
coder 2.36.0 < 2.36.11
