Read the docs

Session token leak in Coder via coder open app

Priority LOW 37CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-200.

Summary

Coder 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, and from 2.39.0 before 2.39.1 contains a credential exposure flaw (CWE-200) in which coder open app substitutes $SESSION_TOKEN into template-defined external app URLs without validating the scheme or destination. A malicious template author can define an external app or IDE link pointing to an attacker server, so a user who runs coder open app leaks their session token. An attacker who obtains the token can impersonate shared users or administrators. The attack requires high privileges and user interaction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00379 23rd percentileScored 2026-11-30
Fix Fixed coder (coder): 2.29.27, 2.33.0, 2.34.0 +4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
codercoder2.29.17 to before 2.29.272.29.27Patch availableCNA
codercoder2.32.7 to before 2.33.02.33.0Patch availableCNA
codercoder2.33.8 to before 2.34.02.34.0Patch availableCNA
codercoder2.34.2 to before 2.34.192.34.19Patch availableCNA
codercoder2.35.0 to before 2.37.112.37.11Patch availableCNA
codercoder2.38.0 to before 2.38.72.38.7Patch availableCNA
codercoder2.39.0 to before 2.39.12.39.1Patch availableCNA
  • coder Vendorcoder Affected 2.29.17 to before 2.29.27 Fixed in 2.29.27 Patch available CNA
  • coder Vendorcoder Affected 2.32.7 to before 2.33.0 Fixed in 2.33.0 Patch available CNA
  • coder Vendorcoder Affected 2.33.8 to before 2.34.0 Fixed in 2.34.0 Patch available CNA
  • coder Vendorcoder Affected 2.34.2 to before 2.34.19 Fixed in 2.34.19 Patch available CNA
  • coder Vendorcoder Affected 2.35.0 to before 2.37.11 Fixed in 2.37.11 Patch available CNA
  • coder Vendorcoder Affected 2.38.0 to before 2.38.7 Fixed in 2.38.7 Patch available CNA
  • coder Vendorcoder Affected 2.39.0 to before 2.39.1 Fixed in 2.39.1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*——coder
  • cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:* Versions — — ·coder

Remediation

Upgrade to Coder 2.29.27, 2.33.0, 2.34.0, 2.34.19, 2.37.11, 2.38.7 or 2.39.1, matching your release line. The sources do not list a vendor advisory for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA coder (coder) Fixed in 2.29.27
  • Fix · CNA coder (coder) Fixed in 2.33.0
  • Fix · CNA coder (coder) Fixed in 2.34.0
  • Fix · CNA coder (coder) Fixed in 2.34.19
  • Fix · CNA coder (coder) Fixed in 2.37.11
  • Fix · CNA coder (coder) Fixed in 2.38.7
  • Fix · CNA coder (coder) Fixed in 2.39.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    coder 2.29.27

    4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW

    Other records, highest priority first

    • TI-2026-98973 Database password exposed in Coder API key error responsesPriority MEDIUM 40
    • TI-2026-98971 Nil pointer dereference in Coder tailnet coordinator crashes coderdPriority LOW 32
    • TI-2026-98974 Unsafe URL scheme in Coder app status linksPriority LOW 23
  • Release ·

    coder 2.34.19, 2.37.11, 2.38.7

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-98973 Database password exposed in Coder API key error responsesPriority MEDIUM 40
    • TI-2026-98974 Unsafe URL scheme in Coder app status linksPriority LOW 23
Show 1 more group
  • Release ·

    coder 2.39.1

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-98973 Database password exposed in Coder API key error responsesPriority MEDIUM 40

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137546
  2. 2026-11-27 Alias added: GHSA-gr46-5h5x-92fm

References

  • TI-2025-37344 AgentAPI exposed user chat history via a DNS rebinding attack CVSS 3.1MEDIUM 6.5
  • TI-2026-34071 Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft CVSS 3.1CRITICAL 9.1
  • TI-2026-32394 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent CVSS 3.1HIGH 8.8
  • TI-2026-27585 Code Extension Marketplace has a Zip Slip Path Traversal CVSS 4.0HIGH 8.7
  • TI-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
  • TI-2023-11339 Origin validation error in code-server CVSS 3.1CRITICAL 9.3
See all 54 →

Sources