Skip to main content

Coder EUVDEUVD-2026-125162

| CVE-2026-126403 HIGH
Incorrect Authorization (CWE-863)
2026-11-13 VulnCheck GHSA-2c36-2hm9-rjrf
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as Template/Org Admin with workspace read
  2. Delivery
    Request external-agent credentials endpoint
  3. Exploit
    Receive workspace agent token
  4. Execution
    Replay token on agent-authenticated endpoints
  5. Impact
    Read owner Git SSH key and OAuth tokens, impersonate agent to hijack sessions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a Premium Coder deployment that uses external workspaces (a coder_external_agent resource in a template) - the vendor states only these are affected, so default/non-Premium and non-external-agent deployments are not exploitable. The attacker must be authenticated and hold a role that grants workspace read but not ssh: Template Admin, Organization Template Admin, Organization Admin, or the Owner role when --disable-owner-workspace-access is set; API tokens scoped to coder:workspaces.operate or coder:workspaces.create are equally affected. Limiting factors: the attacker needs one of these elevated roles (PR:H), no exploitation is possible without the external-agent feature, and users the workspace is shared with at 'use' or 'admin' level already hold ssh and are therefore unaffected by the flaw. Agent impersonation is most impactful while the external agent is offline, which is its normal state before installation.

Impact

This is a genuine but access-gated authorization flaw (CWE-863/CWE-200), not an inflated high-CVSS issue, though its real-world blast radius is narrower than a network-vector score suggests. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H) scores 8.5: remote and low-complexity, but PR:H correctly reflects that the attacker must already hold an elevated role (Template Admin, Organization Template Admin, Organization Admin, or an Owner with --disable-owner-workspace-access), or an API token scoped to coder:workspaces.operate/create. The vendor-reported priority is 'this_week' rather than emergency, and there is no CISA KEV listing and no EPSS score provided, so there is no signal of active or widespread exploitation. No public exploit code is identified in the input (the two references are the vendor GHSA advisory and a VulnCheck advisory, not a working PoC). The decisive limiter is scope: per the vendor, only Premium deployments that use external workspaces (a coder_external_agent resource in a template) are affected - most Coder deployments are not. Within an affected deployment the impact is high (theft of the owner's private Git SSH key and Git provider OAuth tokens, plus agent impersonation), so this is a real priority for Premium/external-agent operators but low-to-no concern for everyone else. Note the input Tags label this 'Authentication Bypass'; the CWE and advisories confirm it is an authorization (access-control) bypass by an already-authenticated user, not an authentication bypass.

Exploit ScenarioDerived

An authenticated user holding a Template Admin or Organization Admin role - who can view a victim's external workspace but is deliberately not permitted to ssh/connect to it - calls GET /api/v2/workspaces/{workspace}/external-agent/{agent}/credentials, which only checked for read access and returns the workspace agent token. The attacker then presents that token on agent-authenticated endpoints to read the owner's private Git SSH key and Git provider OAuth tokens, and impersonates the agent (normal while an external agent is offline) to receive the owner's sessions. No public exploit identified at time of analysis; the flaw requires an elevated account but is otherwise low-complexity.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Improper authorization in Coder's external agent credentials endpoint lets authenticated users who hold only workspace read access - Template Admins, Organization Template Admins, Organization Admins, or the Owner role when --disable-owner-workspace-access is set - fetch the workspace agent token for someone else's external workspace, because the endpoint never checked the ssh permission. With that token they can read the owner's private Git SSH key, Git provider OAuth tokens and agent manifest, and impersonate the agent to receive the owner's sessions while it is offline. Only Premium deployments that use external workspaces (a coder_external_agent resource in a template) are exposed, the attacker must already hold one of these elevated roles, and no public exploit has been identified at time of analysis; the vendor has shipped fixed releases across all supported lines.

RemediationAI

Upgrade to the patched release on your line: v2.38.4 (mainline 2.38), v2.37.8 (stable 2.37), v2.36.11 (security support 2.36), v2.34.16 (ESR 2.34), or v2.29.24 (ESR 2.29); the fix is upstream PR https://github.com/coder/coder/pull/31388 and the advisory is https://github.com/coder/coder/security/advisories/GHSA-9frj-7f83-x984. Releases 2.26-2.28, 2.30-2.33 and 2.35 are end-of-life with no patch, so those deployments must upgrade to a patched supported line. Be aware of the intentional behavior change: after upgrading, Template Admins, Organization Template Admins and Organization Admins can no longer retrieve the install command for other users' external workspaces and will see an error in the install panel, and API tokens calling coder external-workspaces agent-instructions now need a scope that grants ssh, such as coder:workspaces.access. If upgrading must be deferred, the vendor's stated interim measures are to restrict the Template Admin, Organization Template Admin and Organization Admin roles to trusted users and to avoid templates that use the coder_external_agent resource; both reduce functionality or administrative delegation, and neither removes the exposure while an external-agent template remains available to those roles. Note also that roles able to update a template can still read agent tokens from that template's workspace build state via coder state pull, which the vendor describes as expected behavior.

Affected VersionsENISA

coder 2.35.0 <2.36.0
coder 2.36.0 <2.36.11
coder 2.37.0 <2.37.8
coder 2.38.0 <2.38.4
coder 2.30.0 <2.34.16
coder 2.26.0 <2.29.24

Affected Packages

euvd coder fix: 2.29.24, 2.34.16, 2.36.0, 2.36.11, 2.37.8, 2.38.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-863 (incorrect authorization) with a CWE-200 information-exposure effect, located in the handler workspaceExternalAgentCredentials in enterprise/coderd/workspaceagents.go. That handler served GET /api/v2/workspaces/{workspace}/external-agent/{agent}/credentials, which returns the workspace agent's authentication token plus the command used to start an external agent, and it performed no authorization check of its own - the only gate was the load of the workspace object, which requires read. Comparable agent-level endpoints, such as the agent coordination endpoint, require ssh on the workspace, so the credential-issuing endpoint was strictly weaker than the operations the token unlocks. The token authenticates as the workspace agent, so holding it grants agent-authenticated API surface: the owner's private Git SSH key, the owner's external auth (Git provider OAuth) tokens, the agent manifest including template environment variables and startup scripts, and the ability to connect as the agent while the real agent is offline (the normal state of an external agent before installation) and receive the owner's sessions. The corrected handler now requires ssh on the workspace and answers 404 without it. The trigger path is fully described by the vendor: a verbose read of the credentials endpoint by a role lacking ssh. Coder is written in Go and distributed as the module go/github.com/coder/coder/v2, matching the cpe:2.3:a:coder:coder CPE entries; the affected code lives in the enterprise tree, which is why the vendor scopes impact to Premium deployments using external workspaces.

Know when Coder gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Remote low-complexity call, but PR:H because an elevated Template/Org Admin role is required; C:H and I:H for SSH-key/OAuth-token theft and agent impersonation, A:N as no availability impact is described.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:35 cve.org
HIGH 8.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-863 (Incorrect Authorization), with the advisory also tagging CWE-200 for the data exposure it enables.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-126403 is a high-severity authorization flaw in Coder's external agent credentials endpoint (CVSS 8.5) that allows authenticated users with elevated template or organization roles to steal workspace agent tokens and access sensitive credentials such as private Git SSH keys and OAuth tokens. This impacts only Premium deployments using external workspaces, but the ability to impersonate agents and receive owner sessions poses a significant risk to data confidentiality and workspace integrity. Leadership should prioritize patching given the high privilege level required and the absence of current exploitation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
self-hosted developer platform; only Premium external-agent deployments are affected
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Coder

View all
CVE-2025-58437 HIGH POC
8.1 Sep 06

Coder allows organizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.1), t

CVE-2025-66411 HIGH POC
7.8 Dec 03

Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28

CVE-2021-3810 HIGH POC
7.5 Sep 17

code-server is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerabili

CVE-2023-26114 CRITICAL
9.3 Mar 23

Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes.

CVE-2026-137547 CRITICAL
9.2 Nov 26

Coder deployments configured with AWS IAM database authentication (CODER_PG_AUTH=awsiamrds) can leak a short-lived Postg

CVE-2026-126308 HIGH
8.7 Nov 13

Credential disclosure in Coder's web dashboard (CVSS 4.0 base 8.7, High) lets an authenticated low-privileged attacker w

CVE-2026-111927 HIGH
8.7 Oct 17

Credential theft in Coder (before 2.29.20, 2.33.0 through 2.33.11, 2.34.0 through 2.34.7, and 2.35.0 through 2.35.3) let

CVE-2026-137546 HIGH
8.4 Nov 26

Session-token leakage in Coder's `coder open app` CLI command lets a malicious template author steal the credentials of

CVE-2026-63443 HIGH
8.3 Sep 15

Authenticated Coder users who control a modified workspace agent can redirect the control plane's workspace-agent API re

CVE-2026-118687 HIGH
8.3 Oct 28

Coder deployments that run workspace agents on Google Compute Engine with GCP instance-identity authentication accept re

CVE-2024-27918 HIGH
8.2 Mar 21

Coder allows oragnizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.2), t

CVE-2026-69154 HIGH
7.8 Nov 16

Arbitrary shell command execution and security-setting tampering in the Coder VS Code extension (coder.coder-remote) ver

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy