CVE-2026-55437
Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component
Also known as GHSA-7qw2-f75v-62f7, GO-2026-5919
Mitigation
- Upgrade github.com/coder/coder/v2 to one of 2.34.2, 2.33.8, 2.32.7, 2.29.17 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/coder/coder/v2 (>= 2.34.0, < 2.34.2)
- Projects that depend on Go package github.com/coder/coder
- Anyone running coder >= 2.34.0, < 2.34.2; >= 2.33.0, < 2.33.8; >= 2.30.0, < 2.32.7; < 2.29.17
Vulnerability facts
- Affected
- github.com/coder/coder/v2 >= 2.34.0, < 2.34.2; github.com/coder/coder
- Fixed in
- 2.34.2, 2.33.8, 2.32.7, 2.29.17
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/coder/coder/v2 | >= 2.34.0, < 2.34.2 | 2.34.2, 2.33.8, 2.32.7, 2.29.17 | osv |
| Go github.com/coder/coder | — | — | osv |
| coder | >= 2.34.0, < 2.34.2; >= 2.33.0, < 2.33.8; >= 2.30.0, < 2.32.7; < 2.29.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-55437. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-55437.md Affected: github.com/coder/coder/v2 >= 2.34.0, < 2.34.2; github.com/coder/coder Fixed in: 2.34.2, 2.33.8, 2.32.7, 2.29.17 Steps: 1. Search this machine and project for github.com/coder/coder/v2 (Go), github.com/coder/coder (Go), coder: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-55437 being exploited?
There is no confirmed exploitation: CVE-2026-55437 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-55437?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-55437?
github.com/coder/coder/v2 >= 2.34.0, < 2.34.2; github.com/coder/coder.
Is there a fix for CVE-2026-55437?
Yes. Fixed in 2.34.2, 2.33.8, 2.32.7, 2.29.17. Upgrade github.com/coder/coder/v2 to one of 2.34.2, 2.33.8, 2.32.7, 2.29.17 (or later in the same release line).
How do I check if I'm affected by CVE-2026-55437?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.