Skip to main content

Coder CVE-2026-55438

| EUVDEUVD-2026-42151 MEDIUM
Origin Validation Error (CWE-346)
2026-07-06 https://github.com/coder/coder GHSA-5wg6-jmq2-53pw
6.8
CVSS 3.1 · NVD
Share

Severity by source

Vendor (https://github.com/coder/coder) PRIMARY
MEDIUM
qualitative
NVD
6.8 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
vuln.today AI
5.8 MEDIUM

Requires non-default wildcard subdomain config (AC:H), authenticated attacker account (PR:L), victim browser visit (UI:R), crosses workspace ownership boundary (S:C), full read of victim app responses (C:H), no write or availability impact.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
SUSE
MEDIUM
qualitative

Primary rating from Vendor (https://github.com/coder/coder).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 08, 2026 - 19:52 NVD
5.8 (MEDIUM) 6.8 (MEDIUM)
Analysis Generated
Jul 06, 2026 - 22:41 vuln.today

DescriptionNVD

Summary

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.

> Note: Practical exploitation requires subdomain app routing (wildcard hostname) enabled and a victim who visits the attacker's crafted app URL while authenticated.

Impact

An authenticated user could craft a subdomain encoding their own workspace UUID and a victim's username. If the victim visited the attacker's URL, the attacker's JavaScript could issue credentialed cross-origin fetch() requests to the victim's workspace apps and read the responses, exfiltrating data accessible through those apps.

Patches

The fix validates the subdomain username against the resolved workspace's actual owner and bases the same-owner CORS decision on the authoritative owner identity.

The fix was backported to all supported release lines:

Release linePatched version
2.34v2.34.2
2.33v2.33.8
2.32v2.32.7
2.29 (ESR)v2.29.17

Workarounds

None.

Resources

  • Fix: #26086, #26085

Credits

Coder would like to thank Anthropic's Security Team (ANT-2026-22434) for independently disclosing this issue!

AnalysisAI

Cross-origin request forgery via CORS same-owner bypass in Coder's subdomain workspace app proxy allows an authenticated attacker to exfiltrate data from a victim's workspace apps. The flaw exists across Coder release lines 2.29 through 2.34, and was disclosed by Anthropic's Security Team. No public exploit exists and no CISA KEV listing is present, but the vulnerability is directly exploitable against any deployment with wildcard subdomain routing enabled, making prompt patching critical for affected configurations.

Technical ContextAI

Coder provides remote development environments accessed via subdomain-routed workspace app proxies (e.g., {app}-{agent}-{workspace}-{username}.coder.example.com). The CORS middleware grants 'same-owner' trust when the username in the subdomain hostname matches the workspace owner, permitting credentialed cross-origin requests. The root cause, classified as CWE-346 (Origin Validation Error), is a logic divergence in the resolution path: when the workspace-name segment of the subdomain parses as a UUID, workspace lookup switches to ID-based resolution without re-validating that the URL's embedded username corresponds to the actual workspace owner. The CORS middleware then trusted the unverified, attacker-controlled username in the hostname rather than the authoritative server-side owner identity, breaking the same-origin security boundary between users' workspace contexts. Affected packages are identified by CPE as pkg:go/github.com_coder_coder_v2 across multiple release branches.

RemediationAI

Upgrade to the vendor-released patched versions: v2.34.2 for the 2.34 release line, v2.33.8 for the 2.33 line, v2.32.7 for the 2.32 line, or v2.29.17 for the 2.29 ESR line, all available at https://github.com/coder/coder/releases. The fix validates the subdomain-encoded username against the authoritative workspace owner identity before granting same-owner CORS trust, closing the bypass. The vendor advisory at https://github.com/coder/coder/security/advisories/GHSA-5wg6-jmq2-53pw explicitly states no workarounds are available. For organizations unable to patch immediately, disabling wildcard subdomain-based workspace app routing eliminates exposure entirely, though this trade-off disables the workspace app proxy feature for all users. Fix implementation details are visible in upstream pull requests #26085 and #26086.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

Share

CVE-2026-55438 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy