Public vulnerability disclosure

CVE-2026-137546

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

publishedCWE-200

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.

Technical severity8.4 highCVSS 4.0 · CNA: VulnCheck
Published2026-11-26Source updated 2026-12-01
Collected2026-12-013 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
coder
coder
github.com/coder/coder/v2
golang
≥ 2.29.17; < 2.29.27 (affected, semver)
2.29.27 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck
coder
coder
github.com/coder/coder/v2
golang
≥ 2.32.7; < 2.33.0 (affected, semver)
2.33.0 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck
coder
coder
github.com/coder/coder/v2
golang
≥ 2.33.8; < 2.34.0 (affected, semver)
2.34.0 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck
coder
coder
github.com/coder/coder/v2
golang
≥ 2.34.2; < 2.34.19 (affected, semver)
2.34.19 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck
coder
coder
github.com/coder/coder/v2
golang
≥ 2.35.0; < 2.37.11 (affected, semver)
2.37.11 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck
coder
coder
github.com/coder/coder/v2
golang
≥ 2.38.0; < 2.38.7 (affected, semver)
2.38.7 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck
coder
coder
github.com/coder/coder/v2
golang
≥ 2.39.0; < 2.39.1 (affected, semver)
2.39.1 (unaffected, semver)
Other versions: unaffected
CNA: VulnCheck

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 8.4
high
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NCNA: VulnCheck
3.1 / 6.1
medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:NCNA: VulnCheck
4.0 / 8.4
high
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD: [email protected]
3.1 / 6.1
medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:NNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide