CVE-2026-126403
Published:November 13, 2026
Updated:November 23, 2026
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.
Affected Packages
https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.38.0 <v2.38.4Fix Suggestion:
Update to version v2.38.4https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.37.0 <v2.37.8Fix Suggestion:
Update to version v2.37.8https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.26.0 <v2.29.24Fix Suggestion:
Update to version v2.29.24https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.30.0 <v2.34.16Fix Suggestion:
Update to version v2.34.16https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.35.0 <v2.36.11 || >=v2.36.0 <v2.36.11Fix Suggestion:
Update to version v2.36.11github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.26.0 <v2.29.24Fix Suggestion:
Update to version v2.29.24github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.38.0 <v2.38.4Fix Suggestion:
Update to version v2.38.4github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.37.0 <v2.37.8Fix Suggestion:
Update to version v2.37.8github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.30.0 <v2.34.16Fix Suggestion:
Update to version v2.34.16github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.36.0 <v2.36.11 || >=v2.35.0 <v2.36.11Fix Suggestion:
Update to version v2.36.11Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.35