Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps
Summary
| CVE | CVE-2026-126308 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-13 10:17:36 UTC |
| Updated | 2026-11-13 10:17:36 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.7 HIGH from [email protected]
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-201 | CWE-201 Insertion of Sensitive Information Into Sent Data
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.7 | HIGH | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 8.7 | HIGH | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
| 3.1 | [email protected] | Primary | 7.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |
| 3.1 | CNA | CVSS | 7.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
HighAttack Requirements
PresentPrivileges Required
LowUser Interaction
PassiveConfidentiality
HighIntegrity
HighAvailability
NoneSub Conf.
HighSub Integrity
HighSub Availability
NoneCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
LowUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Coder | Coder | affected 2.38.0 2.38.2 semver | Not specified |
| CNA | Coder | Coder | unaffected 2.38.2 semver | Not specified |
| CNA | Coder | Coder | affected 2.37.0 2.37.6 semver | Not specified |
| CNA | Coder | Coder | unaffected 2.37.6 semver | Not specified |
| CNA | Coder | Coder | affected 2.36.0 2.36.9 semver | Not specified |
| CNA | Coder | Coder | unaffected 2.36.9 semver | Not specified |
| CNA | Coder | Coder | affected 2.30.0 2.34.14 semver | Not specified |
| CNA | Coder | Coder | unaffected 2.34.14 semver | Not specified |
| CNA | Coder | Coder | affected 2.24.0 2.29.23 semver | Not specified |
| CNA | Coder | Coder | unaffected 2.29.23 semver | Not specified |
| CNA | Coder | Coder | affected 2.35.0 2.36.0 semver | Not specified |
| CNA | Coder | Coder | unaffected 2.36.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p | [email protected] | github.com | |
| www.vulncheck.com/advisories/coder-2.38.0-before-2.38.2-session-token-leak-via-... | [email protected] | www.vulncheck.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: manus-pi (en)
CNA: EhabY (en)
There are currently no legacy QID mappings associated with this CVE.