Coder versions 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 have an improper hostname validation vulnerability. The flaw is in the GetWorkspaceProxyByHostname function, where a SIMILAR TO pattern performs a prefix match, causing any domain that is a string prefix of a workspace-proxy access URL to be trusted as a proxy. This allows attackers controlling such a domain to trick authenticated users into visiting a crafted URL, capture their application_connect API key, and replay it to access the victim's workspace applications.