Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 10, 2026
Description
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.
| Product | Versions |
|---|---|
| coder coder | 2.38.0 to before 2.38.4 Affected2.38.4 Not Affected |
| coder coder | 2.37.0 to before 2.37.8 Affected2.37.8 Not Affected |
| coder coder | 2.36.0 to before 2.36.11 Affected2.36.11 Not Affected |
| coder coder | 2.30.0 to before 2.34.16 Affected2.34.16 Not Affected |
| coder coder | 2.26.0 to before 2.29.24 Affected2.29.24 Not Affected |
| coder coder | 2.35.0 to before 2.36.0 Affected2.36.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-863 Incorrect Authorization
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.