Coder 2.28.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 does not restrict new API keys to the creating token's scopes, allow list, or expiry. A scoped API key or OAuth2 token holding key-creation permission can call POST /api/v2/users/{user}/keys/tokens to mint longer-lived coder:all keys, gaining the user's full privileges.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 13 Nov 2026 09:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Coder 2.28.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 does not restrict new API keys to the creating token's scopes, allow list, or expiry. A scoped API key or OAuth2 token holding key-creation permission can call POST /api/v2/users/{user}/keys/tokens to mint longer-lived coder:all keys, gaining the user's full privileges. | |
| Title | Coder from 2.38.0 before 2.38.4 Privilege Escalation via API Key Creation | |
| First Time appeared |
Coder
Coder coder |
|
| Weaknesses | CWE-266 | |
| CPEs | cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Coder
Coder coder |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-13T09:35:45.631Z
Reserved: 2026-11-10T21:32:21.765Z
Link: CVE-2026-126404
No data.
Status : Received
Published: 2026-11-13T10:17:45.087
Modified: 2026-11-13T10:17:45.087
Link: CVE-2026-126404
No data.
OpenCVE Enrichment
No data.
Weaknesses