GHSA-75vm-6w67-gwvp: Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking
Coder's OIDC callback improperly handled the email_verified claim by asserting it as a Go boolean type. If the identity provider (IdP) returned email_verified as a non-boolean value or omitted it, the assertion failed open, treating the email as verified. This flaw, combined with an unconditional email-based account fallback, allowed attackers to take over accounts by linking unverified emails. The issue affects multiple release lines of Coder and has been fixed in versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17. Workarounds are limited to ensuring the IdP returns email_verified as a native JSON boolean; upgrading is required to fully mitigate the vulnerability.
AI Analysis
Technical Summary
Coder's OIDC callback implementation performed a direct Go bool type assertion on the email_verified claim. When the IdP returned this claim as a non-boolean (e.g., the string "false") or omitted it, the assertion failed open, causing the system to treat the email as verified erroneously. Because Coder used an unconditional email-based account fallback, an attacker could register a victim's email at a compatible IdP without verifying it, then log in via OIDC and be matched to the victim's existing Coder account, resulting in full account takeover without prior authentication. The fix coerces email_verified across bool, string, and numeric types in a fail-closed manner and blocks email fallback when the matched user already has a different linked IdP subject. The fix has been backported to all supported release lines, specifically versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17.
Potential Impact
An attacker can take over any existing Coder account by registering the victim's email at a compatible IdP without verifying it, then authenticating via OIDC. This results in full account compromise without requiring prior authentication to Coder. The vulnerability affects confidentiality and integrity of user accounts but does not impact availability.
Mitigation Recommendations
A fix is available and has been backported to all supported release lines: 2.34.2, 2.33.8, 2.32.7, and 2.29.17. Users should upgrade to these patched versions to remediate the vulnerability. As a partial workaround, ensure the IdP returns the email_verified claim as a native JSON boolean; however, this does not fully mitigate the email fallback linking issue, which requires upgrading.
GHSA-75vm-6w67-gwvp: Coder's OIDC email_verified type coercion bypass enables account takeover via unverified email linking
Description
Coder's OIDC callback improperly handled the email_verified claim by asserting it as a Go boolean type. If the identity provider (IdP) returned email_verified as a non-boolean value or omitted it, the assertion failed open, treating the email as verified. This flaw, combined with an unconditional email-based account fallback, allowed attackers to take over accounts by linking unverified emails. The issue affects multiple release lines of Coder and has been fixed in versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17. Workarounds are limited to ensuring the IdP returns email_verified as a native JSON boolean; upgrading is required to fully mitigate the vulnerability.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Coder's OIDC callback implementation performed a direct Go bool type assertion on the email_verified claim. When the IdP returned this claim as a non-boolean (e.g., the string "false") or omitted it, the assertion failed open, causing the system to treat the email as verified erroneously. Because Coder used an unconditional email-based account fallback, an attacker could register a victim's email at a compatible IdP without verifying it, then log in via OIDC and be matched to the victim's existing Coder account, resulting in full account takeover without prior authentication. The fix coerces email_verified across bool, string, and numeric types in a fail-closed manner and blocks email fallback when the matched user already has a different linked IdP subject. The fix has been backported to all supported release lines, specifically versions 2.34.2, 2.33.8, 2.32.7, and 2.29.17.
Potential Impact
An attacker can take over any existing Coder account by registering the victim's email at a compatible IdP without verifying it, then authenticating via OIDC. This results in full account compromise without requiring prior authentication to Coder. The vulnerability affects confidentiality and integrity of user accounts but does not impact availability.
Mitigation Recommendations
A fix is available and has been backported to all supported release lines: 2.34.2, 2.33.8, 2.32.7, and 2.29.17. Users should upgrade to these patched versions to remediate the vulnerability. As a partial workaround, ensure the IdP returns the email_verified claim as a native JSON boolean; however, this does not fully mitigate the email fallback linking issue, which requires upgrading.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-75vm-6w67-gwvp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-55076"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a4c340527e9c797195f6488
Added to database: 07/06/2026, 23:02:29 UTC
Last enriched: 07/06/2026, 23:13:40 UTC
Last updated: 07/07/2026, 00:20:28 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.