CVE-2026-126403
JSON

8.5high

Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint

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

Description

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.

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.26.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

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

Classification

CWE-863

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

References

Sources

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