CVE-2026-126308: Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps
Vulnerability summary
CVE-2026-126308 is a high (CVSS 8.7) vulnerability in coder. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 28.4% of scored vulnerabilities.
Not severe (CVSS 8.7, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 13-11-2026PublishedVulnerability first disclosed.
- 18-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 2 versions- NVDNIST8.7HighCVSS: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
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
- NVDNIST7.7HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- coder-2.32All versions (No fix recorded)
- coder-2.33All versions (No fix recorded)
Coder1 product
- coder≥ 2.38.0, < 2.38.2 | ≥ 2.37.0, < 2.37.6 | ≥ 2.36.0, < 2.36.9 | ≥ 2.30.0, < 2.34.14 | ≥ 2.24.0, < 2.29.23 | ≥ 2.35.0, < 2.36.0
2 vendors · 3 products