Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.4
Fix Suggestion:
Update to version v2.38.4
https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.37.0 <v2.37.8
Fix Suggestion:
Update to version v2.37.8
https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.26.0 <v2.29.24
Fix Suggestion:
Update to version v2.29.24
https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.30.0 <v2.34.16
Fix Suggestion:
Update to version v2.34.16
https://github.com/coder/coder.git (GITHUB):
Affected version(s) >=v2.35.0 <v2.36.11 || >=v2.36.0 <v2.36.11
Fix Suggestion:
Update to version v2.36.11
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.26.0 <v2.29.24
Fix Suggestion:
Update to version v2.29.24
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.38.0 <v2.38.4
Fix Suggestion:
Update to version v2.38.4
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.37.0 <v2.37.8
Fix Suggestion:
Update to version v2.37.8
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.30.0 <v2.34.16
Fix Suggestion:
Update to version v2.34.16
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.36.0 <v2.36.11 || >=v2.35.0 <v2.36.11
Fix Suggestion:
Update to version v2.36.11
Do you need more information?
Contact Us
CVSS 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