{"id":"CVE-2026-111927","state":"PUBLISHED","title":"Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match","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.","publishedAt":"2026-10-17T18:46:39.347Z","updatedAt":"2026-10-21T21:45:39.027Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["coder coder"],"affected":[{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"2.35.0","status":"affected","lessThan":"2.35.4","versionType":"semver"},{"version":"2.35.4","status":"unaffected","versionType":"semver"}]},{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"2.34.0","status":"affected","lessThan":"2.34.8","versionType":"semver"},{"version":"2.34.8","status":"unaffected","versionType":"semver"}]},{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"2.33.0","status":"affected","lessThan":"2.33.12","versionType":"semver"},{"version":"2.33.12","status":"unaffected","versionType":"semver"}]},{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.29.20","versionType":"semver"},{"version":"2.29.20","status":"unaffected","versionType":"semver"}]}],"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"],"weaknesses":["CWE-522"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/111xxx/CVE-2026-111927.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-111927","state":"PUBLISHED","datePublished":"2026-10-17T18:46:39.347Z","dateUpdated":"2026-10-21T21:45:39.027Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-17T12:19:42.358Z"},"containers":{"cna":{"title":"Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"2.35.0","status":"affected","lessThan":"2.35.4","versionType":"semver"},{"version":"2.35.4","status":"unaffected","versionType":"semver"}]},{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"2.34.0","status":"affected","lessThan":"2.34.8","versionType":"semver"},{"version":"2.34.8","status":"unaffected","versionType":"semver"}]},{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"2.33.0","status":"affected","lessThan":"2.33.12","versionType":"semver"},{"version":"2.33.12","status":"unaffected","versionType":"semver"}]},{"vendor":"coder","product":"coder","packageURL":"pkg:golang/github.com/coder/coder/v2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.29.20","versionType":"semver"},{"version":"2.29.20","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-h58h-qvv5-xvwg","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-h58h-qvv5-xvwg)"},{"url":"https://www.vulncheck.com/advisories/coder-before-2.35.4-credential-theft-via-workspace-proxy-hostname-prefix-match","name":"VulnCheck Advisory: Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-522","lang":"en","description":"Insufficiently Protected Credentials","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-17T18:46:39.347Z"},"datePublic":"2026-08-10T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*","versionStartIncluding":"2.35.0","versionEndExcluding":"2.35.4"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*","versionStartIncluding":"2.34.0","versionEndExcluding":"2.34.8"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*","versionStartIncluding":"2.33.0","versionEndExcluding":"2.33.12"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*","versionEndExcluding":"2.29.20"}]}]}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-21T21:45:28.936667Z","id":"CVE-2026-111927","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-21T21:45:39.027Z"}}]}}}