CVE-2026-126308

published 13 Nov 2026 · updated 18 Nov 2026

Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps

7.7HighCVSS 7.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.29.23, 2.34.14, 2.36.0 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
coder>=2.24.0 <2.29.23, >=2.30.0 <2.34.14, >=2.35.0 <2.36.0, >=2.36.0 <2.36.9, >=2.37.0 <2.37.6, >=2.38.0 <2.38.22.29.23, 2.34.14, 2.36.0, 2.36.9, 2.37.6, 2.38.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126308 severity on Zeptric[![CVE-2026-126308](https://zeptric.io/badge/cve/CVE-2026-126308.svg)](https://zeptric.io/cve/CVE-2026-126308)