# CVE-2026-126308: Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps

- Priority: **Routine**
- Reason: Not severe (CVSS 8.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-13 · Modified: 2026-11-18
- Aliases: CGA-3vp3-xg5w-wwjc, CGA-h9jq-g8rf-mh3m, CGA-phpp-5xpq-6cr8, CGA-xw4c-458x-54vv
- Record: https://cvemate.com/vulnerability/CVE-2026-126308 · JSON: https://cvemate.com/vulnerability/CVE-2026-126308/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.333%, percentile 28.498%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard coder-2.32 (Chainguard): All versions (No fix recorded)
- chainguard coder-2.33 (Chainguard): All versions (No fix recorded)
- coder 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

## References

- <https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p>
- <https://www.vulncheck.com/advisories/coder-2.38.0-before-2.38.2-session-token-leak-via-sub-agent-external-apps>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126308.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126308>

---

Data as of 2026-12-05T14:38:50.039Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
