CVE-2026-111927

Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match

Published Oct 17, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 21, 2026, 9:45 PM
Reserved
Oct 17, 2026, 12:19 PM
Status
Awaiting Analysis
Published
Oct 17, 2026, 7:16 PM
Modified
Nov 4, 2026, 11:10 PM