Home › Vulnerabilities › coder
Coder patches four high-severity flaws, including API key exposure and privilege escalation
NVD published four high-severity Coder records on 2026-11-13, covering exposure of API and agent credentials, unrestricted API key minting, and a Web Push memory exhaustion bug. The records name no known exploitation and give fixed versions for each release line.
What to look into
- 4 vulnerabilities in coder: 4 high (CVSS up to 8.7).
- None of them is known to be exploited yet.
- Start with CVE-2026-126308 (8.7 high): The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSIONTOKEN placeholder in external app UR… An attacker with a normal user account can exploit this over the network if a user views or visits something, but only under specific conditions.
- 0 of 4 can be attacked over the network without logging in.
- Kinds of flaws: Insertion of Sensitive Information Into Sent Data; Incorrect Authorization; Incorrect Privilege Assignment; Uncontrolled Resource Consumption.
Key points
- Four HIGH records, CVSS 7.1 to 8.7, cover Coder dashboard, API, and agent credential handling.
- CVE-2026-126308 and CVE-2026-126403 can expose API keys, Git SSH keys, Git OAuth tokens, and agent sessions.
- CVE-2026-126404 lets scoped keys mint longer-lived full-privilege coder:all keys.
- CVE-2026-126405 lets any authenticated user crash the API via an endless Web Push response.
- The records name no known exploitation and no workaround.
Overview
NVD published four high-severity records for Coder on 2026-11-13. Together they cover credential exposure, privilege escalation, and denial of service in the dashboard, the API, and workspace agent handling. The records do not say any of these flaws is known to be exploited.
Credential exposure
Two flaws can expose secrets. CVE-2026-126308 (CVSS 8.7) affects the web dashboard, which replaces the $SESSIONTOKEN placeholder in external app URLs with a full-access API key without checking whether the app belongs to a sub-agent. According to the record, code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so when the owner clicks it, their API key goes to an attacker-chosen destination.
CVE-2026-126403 (CVSS 8.5) concerns the external agent credentials endpoint. It returns the workspace agent token to users who have only workspace read access, not ssh permission. The record says Template Admin or Organization Admin users could use that token to read the owner's private Git SSH key and Git provider OAuth tokens, and to impersonate the agent to receive the owner's sessions.
Privilege escalation
CVE-2026-126404 (CVSS 7.6) involves API key creation. New keys are not restricted to the creating token's scopes, allow list, or expiry. Per the record, a scoped API key or OAuth2 token with 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.
Denial of service
CVE-2026-126405 (CVSS 7.1) affects the Web Push path. webpushSend reads endpoint responses with io.ReadAll, with no size limit or client timeout. The record says any authenticated user can register a subscription pointing to a server that returns an endless body, exhausting coderd memory and crashing the API, dashboard, and workspace connections.
Affected versions and fixes
Each record lists fixed releases by branch. CVE-2026-126308 applies to 2.24.0 through 2.38.x and names 2.29.23, 2.34.14, 2.36.9, 2.37.6, and 2.38.2 as the fixed points. CVE-2026-126403 applies from 2.26.0, CVE-2026-126404 from 2.28.0, and CVE-2026-126405 from 2.21.0, with fixes named as 2.29.24, 2.34.16, 2.36.11, 2.37.8, and 2.38.4. The records do not state any workaround or detection method.
What to do
- Upgrade to the fixed release for your line: 2.29.23 for CVE-2026-126308 on the 2.24 line, or 2.29.24, 2.34.16, 2.36.11, 2.37.8, or 2.38.4 for the other flaws.
- Prioritise CVE-2026-126308 and CVE-2026-126403, the highest-severity records that expose credentials.
- Note that the records give no workaround or detection steps, so the named fixed versions are the only remediation they state.
The 4 vulnerabilities
- CVE-2026-126308 8.7 The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSIONTOKEN placeholder in external app URLs with a full-access API key without ch…
- CVE-2026-126403 8.5 Coder 2.26.0 to 2.38.4 Improper Authorization Flaw
- CVE-2026-126404 7.6 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 toke…
- CVE-2026-126405 7.1 Coder 2.21.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 reads Web Push endpoint responses in webpushSend with io.ReadAll, without a size limit or client timeout. Any authent…
Frequently asked questions
How many coder vulnerabilities were published on November 13, 2026?
4 vulnerabilities: 4 high, with CVSS scores up to 8.7.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-126308 (CVSS 8.7): The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSIONTOKEN placeholder in external app UR…