{"id":"CVE-2026-55075","aliases":["CVE-2026-55075","GHSA-9r87-mvcw-x35f","GO-2026-5908"],"related":[],"kind":"vulnerability","state":"published","title":"Coder vulnerable to OIDC account takeover via email-based user matching and email_verified bypass","summary":"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, two flaws in Coder's OIDC login chained into account takeover. Email-based user matching fell back to linking by email without checking for an existing link to a different IdP subject and the `email_verified` claim was only enforced when present as a boolean `false` so an absent or non-boolean claim was treated as verified. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 restricts the email fallback to first-time and legacy linking and defaults `email_verified` to false when the claim is absent or of an unexpected type. As a workaround, configure the OIDC provider to disallow self-registration or to require email verification before issuing tokens.","summarySource":"cvelist","descriptions":[{"lang":"en","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, two flaws in Coder's OIDC login chained into account takeover. Email-based user matching fell back to linking by email without checking for an existing link to a different IdP subject and the `email_verified` claim was only enforced when present as a boolean `false` so an absent or non-boolean claim was treated as verified. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 restricts the email fallback to first-time and legacy linking and defaults `email_verified` to false when the claim is absent or of an unexpected type. As a workaround, configure the OIDC provider to disallow self-registration or to require email verification before issuing tokens.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nTwo flaws in Coder's OIDC login chained into account takeover: email-based user matching fell back to linking by email without checking for an existing link to a different IdP subject and the `email_verified` claim was only enforced when present as a boolean `false` so an absent or non-boolean claim was treated as verified.\n\n### Impact\n\nAn attacker who could authenticate at the configured OIDC provider with an email matching a victim's Coder account could log in as that victim and gain full access to their workspaces, templates and resources. This required OIDC authentication, attacker control of a matching email at the IdP and a victim account not yet linked to a different IdP subject.\n\n### Patches\n\nThe fix restricts the email fallback to first-time and legacy linking and defaults `email_verified` to false when the claim is absent or of an unexpected type.\n\nThe fix was backported to all supported release lines:\n\n| Release line | Patched version |\n|---|---|\n| 2.34 | [v2.34.2](https://github.com/coder/coder/releases/tag/v2.34.2) |\n| 2.33 | [v2.33.8](https://github.com/coder/coder/releases/tag/v2.33.8) |\n| 2.32 | [v2.32.7](https://github.com/coder/coder/releases/tag/v2.32.7) |\n| 2.29 (ESR) | [v2.29.17](https://github.com/coder/coder/releases/tag/v2.29.17) |\n\n### Workarounds\n\nConfigure the OIDC provider to disallow self-registration or to require email verification before issuing tokens.\n\n### Resources\n\n- Fix: #25712, #25713\n\n### Credits\n\nCoder would like to thank Anthropic's Security Team (ANT-2026-22450) for independently disclosing this issue!","format":"markdown","source":"ghsa"},{"lang":"en","text":"Coder vulnerable to OIDC account takeover via email-based user matching and email_verified bypass in github.com/coder/coder","format":"markdown","source":"go"}],"published":"2026-07-06T20:52:13.000Z","modified":"2026-07-08T19:46:56.620Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-287","CWE-289"],"affected":[{"ranges":[{"version":">= 2.34.0, < 2.34.2","status":"affected"},{"version":">= 2.33.0, < 2.33.8","status":"affected"},{"version":">= 2.30.0, < 2.32.7","status":"affected"},{"version":"< 2.29.17","status":"affected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.34.0","status":"affected","fixed":"2.34.2"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.33.0","status":"affected","fixed":"2.33.8"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.32.7"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.29.17"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.29.17"},{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.32.7"},{"type":"semver","introduced":"2.33.0","status":"affected","fixed":"2.33.8"},{"type":"semver","introduced":"2.34.0","status":"affected","fixed":"2.34.2"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.29.17"},{"status":"affected","introduced":"2.30.0","fixed":"2.32.7"},{"status":"affected","introduced":"2.33.0","fixed":"2.33.8"},{"status":"affected","introduced":"2.34.0","fixed":"2.34.2"}],"vendor":"coder","product":"coder","cpe":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-9r87-mvcw-x35f","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/pull/25712","tags":["fix","issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/pull/25713","tags":["fix","issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coder/coder","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-08T13:02:51.874Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55075","url":"https://www.cve.org/CVERecord?id=CVE-2026-55075","licence":"CVE Terms of Use","modified":"2026-07-08T13:03:16.212Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9r87-mvcw-x35f","url":"https://github.com/advisories/GHSA-9r87-mvcw-x35f","licence":"CC-BY-4.0","modified":"2026-07-07T16:11:23.526Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5908","url":"https://pkg.go.dev/vuln/GO-2026-5908","licence":"CC-BY-4.0","modified":"2026-07-07T16:00:36.677Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55075","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55075","licence":"Public domain","modified":"2026-07-08T19:46:56.620Z"}],"updatedAt":"2026-11-25T22:59:27.326Z","epss":{"score":0.00377,"percentile":0.33792,"date":"2026-12-01T12:00:22.000Z"}}