CVE-2026-55076

Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking

Published Jul 7, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 17:03 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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Coder
Coder coder
Vendors & Products Coder
Coder coder
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'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-704

    Incorrect Type Conversion or Cast

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 2:03 PM
Reserved
Jun 16, 2026, 2:33 PM
Status
Analyzed
Published
Jul 7, 2026, 11:16 PM
Modified
Jul 8, 2026, 7:46 PM