{"id":"CVE-2026-111927","summary":"Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match","details":"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.","aliases":["GHSA-h58h-qvv5-xvwg"],"modified":"2026-10-21T02:52:28.284233589Z","published":"2026-10-17T18:46:39.347Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-522"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111927.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.33.0"},{"fixed":"2.33.12"}]}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111927.json"},{"type":"ADVISORY","url":"https://github.com/coder/coder/security/advisories/GHSA-h58h-qvv5-xvwg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111927"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/coder-before-2.35.4-credential-theft-via-workspace-proxy-hostname-prefix-match"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coder/coder","events":[{"introduced":"a82f2350165c701ce3cbb6260f849e26f4264f79"},{"fixed":"81add7e766144e50b4e4499b81582f997cc6a26c"},{"introduced":"3006da5ef7a9c27755aa5b2f3f5f05d2c8971a58"},{"fixed":"7bd778d8815624fd2b598d9432092162437c06b3"},{"introduced":"0"},{"fixed":"1563fab35118fc7fc7783344f3b6c07f26b979d1"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.35.0"},{"fixed":"2.35.4"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.34.0"},{"fixed":"2.34.8"}]},{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"2.29.20"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v2.29.19","v2.34.7","v2.35.3","v2.35.2","v2.34.6","v2.35.1","v2.35.0","v2.34.5","v2.34.4","v2.29.18","v2.34.3","v2.34.2","v2.29.17","v2.29.16","v2.34.1","v2.34.0","v2.29.15","v2.29.14","v2.29.13","v2.29.12","v2.29.11","v2.29.10","v2.29.9","v2.29.8","v2.29.7","v2.29.6","v2.29.5","v2.29.4","v2.29.3","v2.29.2","v2.29.1","v2.29.0","v2.10.0","v2.9.0","v2.6.0","v2.8.0","v2.7.1","v2.7.0","v2.5.1","v2.5.0","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.0.2","v0.27.1","v0.27.0","v0.26.2","v0.26.1","v0.26.0","v0.25.0","v0.24.1","v0.24.0","v0.23.7","v0.23.6","v0.23.5","v0.23.4","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.2","v0.22.1","v0.22.0","v0.21.3","v0.21.2","v0.21.1","v0.21.0","v0.20.1","v0.20.0","v0.19.2","v0.19.1","v0.19.0","v0.18.1","v0.18.0","v0.17.4","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.0","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.6","v0.13.5","v0.13.4","v0.13.3","v0.13.2","v0.13.1","v0.13.0","v0.12.9","v0.12.8","v0.12.7","v0.12.6","v0.12.5","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.0","v0.10.2","v0.10.1","v0.10.0","rm","v0.9.10","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.15","v0.8.14","v0.8.13","v0.8.12","v0.8.11","v0.8.10","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.12","v0.7.11","v0.7.10","v0.7.9","v0.7.8","v0.7.7","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.6","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.11","v0.5.10","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111927.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}