CVE-2026-126404
JSON

7.6high

Coder from 2.38.0 before 2.38.4 Privilege Escalation via API Key Creation

Severity
7.6high CVSS:4.0 by VulnCheck
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
coder coderfrom 2.38.0 before 2.38.4, from 2.37.0 before 2.37.8, from 2.36.0 before 2.36.11, from 2.30.0 before 2.34.16, from 2.28.0 before 2.29.24, from 2.35.0 before 2.36.0
Not affected: 2.38.4, 2.37.8, 2.36.11, 2.34.16, 2.29.24, 2.36.0
CVE List

All scores

VulnCheck7.6high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-266

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126404 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-126404 changed 2026-11-17Public domain