{"id":"CVE-2026-55076","published":"2026-07-07T22:23:26Z","modified":"2026-07-08T14:03:39Z","title":"Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking","vendor":"coder","product":"coder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0061,"percentile":0.50168,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-75vm-6w67-gwvp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coder/coder/pull/25712","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/pull/25713","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":10.03},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"coder","affectedVersions":[{"vendor":"coder","product":"coder","versions":[">= 2.34.0, < 2.34.2",">= 2.33.0, < 2.33.8",">= 2.30.0, < 2.32.7","< 2.29.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T14:03:30.696230Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/coder/coder/v2","vulnerableRanges":[">=2.34.0, <2.34.2",">=2.33.0, <2.33.8",">=2.30.0, <2.32.7","<2.29.17"],"patched":["2.34.2","2.33.8","2.32.7","2.29.17"],"from":["GHSA-75vm-6w67-gwvp","GO-2026-5907"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/coder/coder","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5907"],"provenance":"source"}],"summary":{"text":"The flaw is in the OIDC login callback of Coder, the platform for provisioning remote development environments via Terraform, where the email_verified claim is checked using a direct Go bool type assertion that fails open when the claim is a non-boolean value or is missing. Combined with an unconditional email-based account fallback, an attacker who can authenticate through an identity provider that returns such a claim can take over an existing account by linking it to their own identity, requiring only network access and no prior privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:42Z"},"euvd":{"id":"EUVD-2026-42129","exploited":false,"provenance":"source"}}