Skip to content

CVE-2026-111927 Coder before 2.35.4 Credential Theft via Workspace Proxy Hostname Prefix Match

HighCVSS 8.7 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
coder < 2.29.20; >= 2.33.0, < 2.33.12; >= 2.34.0, < 2.34.8; >= 2.35.0, < 2.35.4 2.29.20, 2.33.12, 2.34.8, 2.35.4 Fixed

Affected products

ProductAffected versionsFixed in
coder >= 2.35.0, < 2.35.4 2.35.4
coder >= 2.34.0, < 2.34.8 2.34.8
coder >= 2.33.0, < 2.33.12 2.33.12
coder < 2.29.20 2.29.20

References