CVE-2026-126308
JSON

8.7high

Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps

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

Description

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 $SESSION_TOKEN placeholder in external app URLs with a full-access API key without checking whether the app belongs to a sub-agent. Code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so the owner's click sends their API key to an attacker-chosen destination.

Affected

Product or packageVersionsReported by
coder coderfrom 2.38.0 before 2.38.2, from 2.37.0 before 2.37.6, from 2.36.0 before 2.36.9, from 2.30.0 before 2.34.14, from 2.24.0 before 2.29.23, from 2.35.0 before 2.36.0
Not affected: 2.38.2, 2.37.6, 2.36.9, 2.34.14, 2.29.23, 2.36.0
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
VulnCheck7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Classification

CWE-201

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

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126308 changed 2026-11-18CVE Terms of Use
NVDCVE-2026-126308 changed 2026-11-18Public domain