Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| coder coder | 2.38.0 to before 2.38.2 Affected2.38.2 Not Affected |
| coder coder | 2.37.0 to before 2.37.6 Affected2.37.6 Not Affected |
| coder coder | 2.36.0 to before 2.36.9 Affected2.36.9 Not Affected |
| coder coder | 2.30.0 to before 2.34.14 Affected2.34.14 Not Affected |
| coder coder | 2.24.0 to before 2.29.23 Affected2.29.23 Not Affected |
| coder coder | 2.35.0 to before 2.36.0 Affected2.36.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.7 High | VulnCheck |
Weaknesses
- CWE-201 Insertion of Sensitive Information Into Sent Data
References
- GitHub Security Advisory (GHSA-2x8w-q434-f76p)Vendor Advisory
- VulnCheck Advisory: Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External AppsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.