p PatchFirst

CVE-2026-111927

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.2% · Fix available

Published
Updated

Affected products and versions

  • coder

    Versions
    • ≥ 2.35.0, < 2.35.4: Affected (semver)
    • 2.35.4: Not affected (semver)

    Update to 2.35.4

  • coder

    Versions
    • ≥ 2.34.0, < 2.34.8: Affected (semver)
    • 2.34.8: Not affected (semver)

    Update to 2.34.8

  • coder

    Versions
    • ≥ 2.33.0, < 2.33.12: Affected (semver)
    • 2.33.12: Not affected (semver)

    Update to 2.33.12

  • coder

    Versions
    • ≥ 0, < 2.29.20: Affected (semver)
    • 2.29.20: Not affected (semver)

    Update to 2.29.20

Original sources

Check your server →