All vulnerabilities

Go

CVE-2026-126308

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

Severity
High 8.7
Published
13 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.29.23, 2.34.14, 2.36.0, 2.36.9, 2.37.6, 2.38.2
Exploit chance
0.3% in the next 30 daysHigher than 24% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Information exposure through sent data (CWE-201)
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/coder/coder/v2Go · osv:Go:github.com/coder/coder/v2
  • From 2.24.0 before 2.29.23
  • From 2.30.0 before 2.34.14
  • From 2.35.0 before 2.36.0
  • From 2.36.0 before 2.36.9
  • From 2.37.0 before 2.37.6
  • From 2.38.0 before 2.38.2

About github.com/coder/coder/v2

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-126308