Read the docs
TI-2026-40005 Aliases CVE-2026-55437GHSA-7qw2-f75v-62f7

Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component

Priority LOW 24CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2, the `AgentLogLine` dashboard component instantiated `ansi-to-html` without `escapeXML: true` and inserted the result via `dangerouslySetInnerHTML` so HTML embedded in workspace agent log lines was rendered as live markup. Server-side sanitization did not neutralize HTML metacharacters. Exploitation requires a victim to view attacker-controlled agent logs in the dashboard. The fix in versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2 enables `escapeXML: true` so HTML metacharacters are escaped before DOM insertion. No known workarounds are available.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00316 24th percentileScored 2026-11-07
Fix Fixed coder (coder): 2.34.2, 2.33.8, 2.32.7 +1github.com/coder/coder/v2 (Go): 2.34.2, 2.33.8, 2.32.7 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
codercoder2.34.0 to before 2.34.2; 2.33.0 to before 2.33.8; 2.30.0 to before 2.32.7; before 2.29.172.34.2, 2.33.8, 2.32.7, 2.29.17Patch availableCNA
—github.com/coder/coder/v2 (Go)2.34.0 to before 2.34.22.34.2Patch availableGHSA-7qw2-f75v-62f7
—github.com/coder/coder/v2 (Go)2.33.0 to before 2.33.82.33.8Patch availableGHSA-7qw2-f75v-62f7
—github.com/coder/coder/v2 (Go)2.30.0 to before 2.32.72.32.7Patch availableGHSA-7qw2-f75v-62f7
—github.com/coder/coder/v2 (Go)before 2.29.172.29.17Patch availableGHSA-7qw2-f75v-62f7
  • coder Vendorcoder Affected 2.34.0 to before 2.34.2; 2.33.0 to before 2.33.8; 2.30.0 to before 2.32.7; before 2.29.17 Fixed in 2.34.2, 2.33.8, 2.32.7, 2.29.17 Patch available CNA
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.34.0 to before 2.34.2 Fixed in 2.34.2 Patch available GHSA-7qw2-f75v-62f7
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.33.0 to before 2.33.8 Fixed in 2.33.8 Patch available GHSA-7qw2-f75v-62f7
  • github.com/coder/coder/v2 (Go) Vendor— Affected 2.30.0 to before 2.32.7 Fixed in 2.32.7 Patch available GHSA-7qw2-f75v-62f7
  • github.com/coder/coder/v2 (Go) Vendor— Affected before 2.29.17 Fixed in 2.29.17 Patch available GHSA-7qw2-f75v-62f7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*before 2.29.17; 2.30.0 to before 2.32.7; 2.33.0 to before 2.33.8; 2.34.0 to before 2.34.2Vulnerablecoder
  • cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:* Versions before 2.29.17; 2.30.0 to before 2.32.7; 2.33.0 to before 2.33.8; 2.34.0 to before 2.34.2 Vulnerable ·coder

Remediation

  • Fix · CNA coder (coder) Fixed in 2.34.2, 2.33.8, 2.32.7, 2.29.17
  • Fix · GHSA-7qw2-f75v-62f7 github.com/coder/coder/v2 (Go) Fixed in 2.34.2 Advisory →
  • Fix · GHSA-7qw2-f75v-62f7 github.com/coder/coder/v2 (Go) Fixed in 2.33.8 Advisory →
  • Fix · GHSA-7qw2-f75v-62f7 github.com/coder/coder/v2 (Go) Fixed in 2.32.7 Advisory →
  • Fix · GHSA-7qw2-f75v-62f7 github.com/coder/coder/v2 (Go) Fixed in 2.29.17 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55437
  2. 2026-10-03 Alias added: GHSA-7qw2-f75v-62f7

References

  • 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-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
  • TI-2026-39997 Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID CVSS 3.1HIGH 8.7
  • TI-2026-39996 Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator CVSS 3.1HIGH 8.2
  • TI-2026-39995 Coder vulnerable to SSH config injection via unsanitized server-supplied values in `coder config-ssh` CVSS 3.1HIGH 8.3
See all 22 →

Sources