All vulnerabilities

Go

CVE-2026-137546

Coder from 2.39.0 before 2.39.1 Session Token Leak via coder open app

Severity
High 8.4
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
2.33.0, 2.34.0, 2.34.19, 2.37.11, 2.38.7, 2.39.1
Weakness
Information exposure (CWE-200)
Attack
Over the network · Needs an administrator account · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

Coder 2.29.17 before 2.29.27, 2.32.7 before 2.33.0, 2.33.8 before 2.34.0, 2.34.2 before 2.34.19, 2.35.0 before 2.37.11, 2.38.0 before 2.38.7, and 2.39.0 before 2.39.1 contains a credential exposure vulnerability that allows malicious template authors to steal session tokens because coder open app substitutes $SESSION_TOKEN into template-defined external app URLs without validating scheme or destination. Attackers can define an external app URL or IDE link pointing to an attacker server so users running coder open app leak their token, enabling impersonation of shared users or administrators.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/coder/coder/v2Go · osv:Go:github.com/coder/coder/v2
  • From 2.39.0 before 2.39.1
  • From 2.38.0 before 2.38.7
  • From 2.35.0 before 2.37.11
  • From 2.34.2 before 2.34.19
All 7 release lines
  • From 2.29.17 before 2.29.27
  • From 2.32.7 before 2.33.0
  • From 2.33.8 before 2.34.0
  • From 2.34.2 before 2.34.19
  • From 2.35.0 before 2.37.11
  • From 2.38.0 before 2.38.7
  • From 2.39.0 before 2.39.1

About github.com/coder/coder/v2

References

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