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.
Published: 2026-10-17
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Credential theft via captured API keys
Action: Apply Patch
AI Analysis

Impact

Coder contains an improper hostname validation flaw that performs a prefix match against workspace‑proxy URLs. Attackers owning a domain that is a string prefix of a workspace‑proxy access URL can therefore be treated as a trusted proxy. An authenticated victim who follows a crafted /api/v2/applications/auth‑redirect link will have the victim’s application_connect API key captured and can replay it to access the victim’s workspace applications. The vulnerability is a classic example of insecure credential storage and handling (CWE‑522).

Affected Systems

The flaw exists in Coder prior to 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. All affected releases are offered by the Coder vendor.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. No EPSS score is available, and the vulnerability is not listed in CISA’s KEV catalog. The attack requires an attacker to own a matching domain and lure an authenticated user, but once executed it grants the attacker arbitrary access to the victim’s workspace via the stolen API key.

Generated by OpenCVE AI on October 17, 2026 at 21:09 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coder to version 2.35.4 or newer to eliminate the hostname validation flaw.
  • Disable or restrict workspace proxy access for untrusted domains by configuring explicit allowed hostnames in the Coder settings.
  • Monitor for and revoke any application_connect API keys that may have been captured by malicious redirects.

Generated by OpenCVE AI on October 17, 2026 at 21:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match
First Time appeared Coder
Coder coder
Weaknesses CWE-522
CPEs cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*
Vendors & Products Coder
Coder coder
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-17T18:46:39.347Z

Reserved: 2026-10-17T12:19:42.358Z

Link: CVE-2026-111927

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-17T19:16:35.527

Modified: 2026-10-17T19:16:35.527

Link: CVE-2026-111927

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:15:15Z

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials