Description
Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, Coder's OIDC callback checked `email_verified` with a direct Go `bool` type assertion. When an IdP returned the claim as a non-boolean (for example the string `"false"`) or omitted it, the assertion failed open and the email was treated as verified. Combined with an unconditional email-based account fallback, this enabled account takeover. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 coerces `email_verified` across bool, string and numeric types (fail-closed) and blocks the email fallback when the matched user already has a different linked IdP subject. As a workaround, ensure the IdP returns `email_verified` as a native JSON boolean. The email-fallback linking issue has no configuration workaround; upgrading is required.
Published: 2026-07-07
Score: 7.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Coder’s OpenID Connect (OIDC) authentication flow performed a strict Go boolean type assertion on the returned `email_verified` claim. When an identity provider delivered as the string "false", or omitted it entirely, the assertion failed and the system erroneously treated the email as verified. Because the email address was matched to an existing account when no user matched the claim, an attacker could create or take over an account using an unverified email address, effectively hijacking any user account that shared that email. This flaw is a classic authorization bypass (CWE-287) compounded by a type confusion (CWE-704) and results in loss of confidentiality and integrity of user accounts.

Affected Systems

Any deployment of Coder prior to releases 2.29.7, 2.32.7, 2.33.8, or 2.34.2. The vulnerability applies to the OIDC callback handling component of the coder:coder product. Systems running those unpatched versions may allow attackers to create or take over accounts by linking unverified email addresses to existing user identities.

Risk and Exploitability

The CVSS score of 7.4 indicates high severity; the EPSS score of <1% suggests the likelihood of exploitation is relatively low. The vulnerability is not listed in CISA’s KEV catalog, but the nature of the flaw—an authentication bypass that can be triggered over standard OIDC traffic—makes it attractive for attackers with access to a compromised IdP claim or who can craft OIDC responses. The attack vector is remote, leveraging normal authentication flows, and does not require elevated privileges or advanced privileges to execute.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coder to version 2.29.7, 2.32.7, 2.33.8, or 2.34.2 or later.
  • Ensure claim as a native JSON boolean value; for example, true or false only, no strings or numbers.
  • Verify that account linking via the unconditional email fallback is disabled or monitored; since no configuration workaround exists, the only reliable fix is to upgrade.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-75vm-6w67-gwvp Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking
History

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

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

Tue, 07 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
Description Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, Coder's OIDC callback checked `email_verified` with a direct Go `bool` type assertion. When an IdP returned the claim as a non-boolean (for example the string `"false"`) or omitted it, the assertion failed open and the email was treated as verified. Combined with an unconditional email-based account fallback, this enabled account takeover. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 coerces `email_verified` across bool, string and numeric types (fail-closed) and blocks the email fallback when the matched user already has a different linked IdP subject. As a workaround, ensure the IdP returns `email_verified` as a native JSON boolean. The email-fallback linking issue has no configuration workaround; upgrading is required.
Title Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking
Weaknesses CWE-287
CWE-704
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T14:03:39.329Z

Reserved: 2026-06-16T14:33:35.711Z

Link: CVE-2026-55076

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:00:02Z

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-704

    Incorrect Type Conversion or Cast