Description
Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2, Coder's subdomain-based workspace app proxy allowed the same-owner CORS check to be bypassed. When a workspace-name subdomain segment parsed as a UUID, the workspace was resolved by ID without confirming the URL's username matched the real owner, while the CORS middleware trusted the unverified username in the hostname. Practical exploitation requires subdomain app routing (wildcard hostname) enabled and a victim who visits the attacker's crafted app URL while authenticated. The fix in versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2 validates the subdomain username against the resolved workspace's actual owner and bases the same-owner CORS decision on the authoritative owner identity. No known workarounds are available.
Published: 2026-07-08
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Coder’s subdomain‑based workspace app proxy contains a flaw that lets an attacker bypass the same‑owner CORS check when the workspace‑name segment of the subdomain is parsed as a UUID. The proxy then resolves the workspace by that UUID without confirming that the host’s username matches the real owner, and the CORS middleware accepts the unvalidated username in the hostname. This results in the attacker being able to issue arbitrary HTTP requests from the victim’s authenticated session. The weakness is a classic example of CWE‑346, where untrusted data is trusted in a critical security decision.

Affected Systems

The issue is present in the Coder platform (vendor coder) in any deployment running a pre‑patch release: versions older than 2.29.17, 2.32.7, 2.33.8, and 2.34.2. Victims must have subdomain app routing (wildcard hostname) enabled and be authenticated while visiting a crafted URL in order for the vulnerability to be exploitable.

Risk and Exploitability

The CVSS score of 5.8 places the vulnerability in the moderate range, and the EPSS score of less than 1% indicates a low probability of exploitation in the near term. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires that a user visits a malicious URL making it a user‑dependent attack but one that can lead to data exfiltration or unauthorized actions if successful.

Generated by OpenCVE AI on July 26, 2026 at 18:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Coder platform to version 2.29.17, 2.32.7, 2.33.8, 2.34.2, or later to apply the fixed CORS validation logic.
  • Verify that the workspace subdomain routing usage in your environment is aligned with the patched logic, ensuring that the username portion of the URL matches the actual workspace owner.
  • Monitor web server and application logs forORS errors that could indicate exploitation attempts.

Generated by OpenCVE AI on July 26, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5wg6-jmq2-53pw Coder's workspace app CORS origin check can be bypassed via UUID-based subdomain spoofing
History

Wed, 08 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 03:15:00 +0000

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder

Wed, 08 Jul 2026 01:00:00 +0000

Type Values Removed Values Added
Description Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2, Coder's subdomain-based workspace app proxy allowed the same-owner CORS check to be bypassed. When a workspace-name subdomain segment parsed as a UUID, the workspace was resolved by ID without confirming the URL's username matched the real owner, while the CORS middleware trusted the unverified username in the hostname. Practical exploitation requires subdomain app routing (wildcard hostname) enabled and a victim who visits the attacker's crafted app URL while authenticated. The fix in versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2 validates the subdomain username against the resolved workspace's actual owner and bases the same-owner CORS decision on the authoritative owner identity. No known workarounds are available.
Title Coder's workspace app CORS origin check can be bypassed via UUID-based subdomain spoofing
Weaknesses CWE-346
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T17:10:30.943Z

Reserved: 2026-06-16T21:59:57.017Z

Link: CVE-2026-55438

cve-icon Vulnrichment

Updated: 2026-07-08T16:56:31.479Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:45:03Z

Weaknesses