Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
jdomeracki-coder merged 1 commit into
release/2.33from
backport-27544-to-2.33
Aug 3, 2026
Merged

fix(coderd): reject workspace proxy hostname prefixes (#27544)#27792
jdomeracki-coder merged 1 commit into
release/2.33from
backport-27544-to-2.33

Conversation

@jdomeracki-coder

Copy link
Copy Markdown
Contributor

Backport of #27544 to release/2.33.

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

release/2.33 is in the Security Support channel per the release schedule and was the only in-scope branch still missing this security fix (2.29, 2.34, 2.35, and 2.36 were already backported via #27614, #27616, #27615, and #27613).

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


This backport PR was created by Coder Agents on behalf of @jdomeracki-coder.

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 <[email protected]>
@jdomeracki-coder jdomeracki-coder added the backport/v2.33 Backport PR targeting release/2.33 label Aug 3, 2026
@linear-code

linear-code Bot commented Aug 3, 2026

Copy link
Copy Markdown

PLAT-384

@jdomeracki-coder
jdomeracki-coder merged commit 572f926 into release/2.33 Aug 3, 2026
31 checks passed
@jdomeracki-coder
jdomeracki-coder deleted the backport-27544-to-2.33 branch August 3, 2026 17:25
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/v2.33 Backport PR targeting release/2.33

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants