CVE-2026-126403
Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint
CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-863 |
| Vendor | coder |
| Product | coder |
| Published | Nov 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for coder coder
Be the first to know when new medium vulnerabilities affecting coder coder are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
coder / coder
2.38.0 < 2.38.4
coder / coder
2.37.0 < 2.37.8
coder / coder
2.36.0 < 2.36.11
coder / coder
2.30.0 < 2.34.16
coder / coder
2.26.0 < 2.29.24
coder / coder
2.35.0 < 2.36.0
References
Credits
๐ Habib0x0