CVE-2026-126404
CVE-2026-126404 — Coder from 2.38.0 before 2.38.4 Privilege Escalation via API Key Creation
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.
Published Updated Sources: NVD, coder (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
6.8
medium · 2 sources
Remediation
The vendor's own words where we have them.
Upgrade Coder to a fixed release (2.38.4). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Coder | coder | 2.38.0 to < 2.38.4 | Vulnerable |
| Coder | coder | 2.38.4 | Patched |
| Coder | coder | 2.37.0 to < 2.37.8 | Vulnerable |
| Coder | coder | 2.37.8 | Patched |
| Coder | coder | 2.36.0 to < 2.36.11 | Vulnerable |
| Coder | coder | 2.36.11 | Patched |
| Coder | coder | 2.30.0 to < 2.34.16 | Vulnerable |
| Coder | coder | 2.34.16 | Patched |
| Coder | coder | 2.28.0 to < 2.29.24 | Vulnerable |
| Coder | coder | 2.29.24 | Patched |
| Coder | coder | 2.35.0 to < 2.36.0 | Vulnerable |
| Coder | coder | 2.36.0 | Patched |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
High
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.8 | CVSS 3.1 | medium | 1.6 | 5.2 | NVD, coder (CNA) |
| 7.6 | CVSS 4.0 | high | n/a | n/a | coder (CNA) |
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-266 · Incorrect Privilege Assignment
- Gain Privileges or Assume Identity
Mitigation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Weakness & attack patterns
- CWE-266
Inferred from the weakness class — not observed against this CVE.
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /api/v2/users/, /keys/tokens.
- Prioritize edge telemetry for network-reachable Coder.
- Review endpoint telemetry for service binary replacement, suspicious service launches, or privilege changes tied to the affected agent.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 6.8 (AV:N)
Nov 13, 2026 · NVD
Initial · CVE published
Nov 13, 2026 · NVD
CVE published by MITRE.
Nov 13, 2026 · SOCRadar CTI
References
2 on the record
- github.com/coder/coder/security/advisories/GHSA-x3gf-xv6p-56hf
Exploit, Third Party Advisory, Mitre, NIST
- www.vulncheck.com/advisories/coder-from-2.38.0-before-2.38.4-privilege-escalation-via-api-key-creation
Vendor Advisory, Mitre, NIST
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-48172 LiteSpeed cPanel Plugin Privilege Escalation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-136115 WordPress MemberPress Discord Addon plugin <= 1.1.5 - Privilege Escalation vulnerabilityCVSS 9.8
- CVE-2026-135933 WordPress WebinarIgnition plugin <= 4.28.1 - Privilege Escalation vulnerabilityCVSS 9.8
- CVE-2026-129056 WordPress Authorizer plugin < 3.17.2 - Privilege Escalation vulnerabilityCVSS 9.8
- CVE-2026-120844 WordPress OAuth Single Sign On – SSO (OAuth Client) plugin <= 7.1.3 - Privilege Escalation vulnerabilityCVSS 9.8
- CVE-2026-28165 WordPress Digits plugin <= 9.2 - Privilege Escalation vulnerabilityCVSS 9.8
Elsewhere on this site
- Coderevery CVE for this vendor
- Privilege Escsame class
- CWE-266other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-126404 is Coder from 2.38.0 before 2.38.4 Privilege Escalation via API Key Creation, a medium vulnerability affecting Coder from Coder. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-126404. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-126404. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 6.8 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.