CVE-2026-126308
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.
How to fix
- coder coder2.38.2, 2.37.6, 2.36.9, 2.34.14, 2.29.23, 2.36.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| coder coder | 2.38.0 ≤ v < 2.38.2, 2.37.0 ≤ v < 2.37.6, 2.36.0 ≤ v < 2.36.9, 2.30.0 ≤ v < 2.34.14, 2.24.0 ≤ v < 2.29.23, 2.35.0 ≤ v < 2.36.0 | 2.38.2, 2.37.6, 2.36.9, 2.34.14, 2.29.23, 2.36.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.