🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

fix(coderd): reject workspace proxy hostname prefixes (#27544) - #27616

Merged
geokat merged 1 commit into
release/2.34from
backport/27544-to-2.34
Jul 28, 2026
Merged

fix(coderd): reject workspace proxy hostname prefixes (#27544)#27616
geokat merged 1 commit into
release/2.34from
backport/27544-to-2.34

Conversation

@github-actions

Copy link
Copy Markdown

Backport of #27544

Original PR: #27544 — fix(coderd): reject workspace proxy hostname prefixes
Merge commit: 8cc7f2b
Requested by: @geokat

A workspace proxy hostname prefix could be accepted as a valid proxy
access URL. An authenticated user could then be redirected to an
attacker-controlled domain with an application-connect API key in the
URL.

Require proxy access URL matches to have a hostname boundary after the
candidate hostname, allowing only the end of the URL, a port, or a
path.

Add regression coverage for proxy access URL and wildcard hostname
prefixes.

Refs: https://linear.app/codercom/issue/PLAT-384

---------

Co-authored-by: Bobby Ho <bobbidinho@gmail.com>
(cherry picked from commit 8cc7f2b)
@github-actions github-actions Bot added the backport/v2.34 Backport PR targeting release/2.34 label Jul 28, 2026
@github-actions
github-actions Bot requested a review from geokat July 28, 2026 20:28
@geokat
geokat merged commit d547bea into release/2.34 Jul 28, 2026
24 checks passed
@geokat
geokat deleted the backport/27544-to-2.34 branch July 28, 2026 21:07
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/v2.34 Backport PR targeting release/2.34

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant