Fider OAuth Flaw Lets Unverified Email Take Over Accounts
Fider linked unverified Google email claims to existing accounts. Upgrade to 0.40.0, audit provider links and review custom IdP trust.
Fider versions before 0.40.0 could treat an unverified email returned by Google sign-in as proof of account ownership. When the provider user ID was not already linked, Fider fell back to the email address, found an existing local account, attached the new provider identity and issued that account's session. An unauthenticated attacker who could make Google return a victim's address with `verified_email` set to false could therefore take over that account, including a tenant administrator. The advisory does not report active exploitation.
Upgrade to Fider 0.40.0 or later. The fixed Google path removes the email from the profile unless Google marks it verified, so it cannot be used for the fallback match. Do not treat that release as a universal custom-provider fix: Fider explicitly leaves custom OAuth provider email trust to the administrator. Review every configured provider, verify that its email claim proves address ownership, audit unexpected provider links and sessions, and invalidate access where the link history cannot be trusted.
Key Takeaways
- check_circle The vendor advisory rates the flaw High at CVSS 3.1 7.4; CVE-2026-136165 was published on November 24 after Fider 0.40.0 shipped.
- check_circle The attack needs an enabled provider that can return an attacker-controlled victim email, but it needs no victim password, one-time code or interaction.
- check_circle Fider first looked for the provider user ID, then matched an existing account by email and permanently linked the attacker's provider identity to it.
- check_circle Private or invite-only signup did not stop the attack because those checks applied to new accounts, not the existing-account linking branch.
- check_circle Version 0.40.0 rejects unverified Google email claims, but custom providers remain safe only when the operator can trust how they verify and issue email claims.
- check_circle Patching blocks the documented Google path; it does not remove a provider identity that may already have been linked or end sessions already issued.
Email Was Treated As Identity Proof
Fider is a feedback and community platform that supports local sign-in and external OAuth providers. Its vulnerable sign-in flow first searched for a local user linked to the provider's stable user ID. If that lookup failed and the provider profile contained an email address, the handler searched for a local account with that email. A match was treated as the same person, the incoming provider ID was registered against the account and Fider issued the account's authenticated session cookie.
The missing step was proof that the provider had verified the address. Fider validated the email's syntax but did not inspect Google's `verified_email` value. The project advisory demonstrates the flow with a provider profile carrying a new attacker-controlled subject and an existing administrator's email. Fider linked that subject to the administrator and returned an administrator session. After the link existed, later sign-ins could resolve directly by provider ID without repeating the email match.
This distinction matters because an email-shaped string is not an identity proof. OpenID Connect defines `email_verified` specifically to state whether the provider verified the address. The same standard says the issuer and subject pair is the only guaranteed stable identifier and warns against using email as a unique user identifier. Google's own documentation likewise says to use `sub`, not email, as the application's user key.
The Preconditions Are Specific But Practical
The documented built-in path required Google sign-in to be enabled and an existing Fider account to use the targeted address. The attacker needed a Google identity that returned that same address while reporting it as unverified. The advisory assigns high attack complexity because those provider-side conditions must exist, but the Fider tenant did not require the attacker to start with an account, role, password or session.
Privilege controls did not break the chain. Fider's provider role check deliberately exempted local administrators and collaborators, so a matched privileged user was not rejected for lacking an allowed external role. A closed or invite-only tenant also remained exposed because its signup policy protected only creation of a new account. The vulnerable branch found an account that already existed and linked another sign-in method to it.
The advisory also uses a custom provider to reproduce the same generic linking behavior. That does not mean every custom identity provider is exploitable. The provider must let an attacker influence the email it returns, or otherwise fail to prove ownership of that email. Scope therefore depends on both Fider's account-linking behavior and the assurance supplied by each configured provider.
Version 0.40.0 Fixes Google, Not Every Trust Decision
Fider 0.40.0 is the fixed release for the published advisory. The patch inspects Google's `verified_email` field and deletes the email from the profile when the field is absent or false. Without an email, the fallback lookup cannot find and link an existing account. The change also improves GitHub sign-in by fetching the primary verified address when the public profile does not expose one.
The project draws a firm boundary around custom providers. Their configuration is an administrator decision, and the advisory says operators should connect only providers that verify the email claims they return. The 0.40.0 code path leaves custom-provider profile bodies unchanged. An operator using a self-service or internally built IdP should not infer that the Fider update independently validates its custom email claim.
Inventory the effective deployment, not only a Compose file or desired image tag. Record the running Fider version, image digest, tenant mode and enabled providers for every production, staging and recovery instance. After updating, verify that the live service reports 0.40.0 or later and run negative tests: an unverified Google profile must not link by email, and each custom provider must refuse or withhold an email until that provider has verified it.
Response Must Remove Persistent Provider Links
An update prevents the documented Google profile from creating a new bad link, but it does not establish that old links are legitimate. Build a review window from the first affected version deployed through the update. Preserve application, reverse-proxy and identity-provider logs before normal retention expires, and correlate provider callbacks, new provider associations, sign-ins, session issuance, account changes and administrative actions.
Prioritize administrators, collaborators and accounts with access to webhooks, authentication settings, billing, exports or moderation controls. For each account, compare the expected provider and provider subject with enrollment records or another trusted identity source. Treat a recently added provider identity, an unfamiliar issuer, or a sign-in from an unexpected network as a lead rather than proof by itself. The public advisory does not supply campaign indicators or claim that the flaw was exploited in the wild.
Where a link cannot be validated, remove or disable it through supported administration procedures, invalidate active sessions, reset local recovery methods and require a fresh trusted enrollment. Review webhooks, role changes, content moderation actions, tenant settings and any exported data during the suspect window. If an administrator account was taken over, rotate downstream secrets exposed in settings and confirm that the attacker did not add another durable access path.
Custom Providers Need An Explicit Email Contract
For every custom OAuth or OpenID Connect provider, document which issuer is trusted, which stable subject identifies a user, where the email comes from and what proves that the address is verified. A syntactically valid address is not enough. If the provider exposes an `email_verified` claim, require it to be true before the address participates in account linking. If it lacks an equivalent assurance, do not use the address to attach the identity to an existing privileged account.
Separate login from linking. The safest operational model requires an already authenticated user to add a new external identity and confirms the change through an existing trusted channel. High-authority accounts should receive a notification for every provider addition, and administrators should be able to list and revoke linked identities without editing storage directly. These are broader design controls, not claims about features Fider currently exposes.
Provider changes deserve change control. A new issuer, profile endpoint, email mapping, self-registration policy or domain rule can weaken an integration that was safe when first approved. Retest ownership assurance after IdP upgrades and configuration changes, and keep a break-glass local administrator whose recovery does not depend on the same external provider being investigated.
Use Stable Subjects And Treat Email As An Attribute
The durable lesson is narrower than avoiding OAuth. Federation can provide strong authentication, but a relying application still decides how a provider identity maps to a local account. Use the provider issuer and stable subject together as the account key. Treat email as a mutable attribute that may help display, notification or a separately verified linking ceremony, not as an automatic cross-provider identity bridge.
Test the uncomfortable cases: an unverified address, a missing address, an address that changes, an address already held by a privileged local user, two issuers returning the same address and a provider subject already linked elsewhere. A secure outcome is explicit for each case. Silent fallback from a missing provider link to an email match is especially dangerous because it turns an attribute collision into persistent account ownership.
Finally, keep evidence outside the application. Export authentication and administrative events to a system a Fider tenant administrator cannot rewrite, alert on new provider links for privileged users and periodically reconcile linked identities with the IdP. That makes a future linking defect easier to contain and gives responders a record that survives account takeover.
Checklist
- Inventory every Fider instance, running version, image digest, tenant mode and enabled built-in or custom OAuth provider.
- Upgrade affected deployments to Fider 0.40.0 or later and verify the version from the running service.
- Disable Google sign-in until the update is complete if an affected instance cannot be upgraded immediately.
- Confirm every custom provider verifies email ownership and document its issuer, stable subject and email assurance contract.
- Preserve Fider, proxy and provider logs, then review privileged accounts for unexpected provider links, sessions and changes.
- Invalidate untrusted sessions and provider associations, then rotate downstream secrets if privileged access may have occurred.
- Test unverified, missing, changed and duplicate email cases before approving any identity-provider configuration change.
Sources
- Fider GHSA-mxx8-x4p9-c9c5 account-takeover advisory open_in_new
- Fider 0.40.0 release notes open_in_new
- Fider verified-email patch commit 8c67dfa open_in_new
- CVE-2026-136165 record open_in_new
- Google OpenID Connect claim guidance open_in_new
- OpenID Connect Core claim stability and email verification open_in_new
Continue Reading
Hex.pm RCE Turns Registry Recovery Into A Trust Reset
Hex.pm says attackers ran commands on six web servers. Reset passwords and 2FA, use only repo.hex.pm and track the signing update.
MediaWiki Fixes Make Extensions A Separate Patch Boundary
MediaWiki disclosed account-takeover and authentication flaws across extensions. Inventory modules, patch matching branches and audit changes.
Pangolin Encoded Paths Break The Access Boundary
Pangolin path rules could misread encoded traversal while backends served protected content. Upgrade, test raw paths and review edge logs.