Fider multi-tenant verification-key bypass enables cross-tenant account takeover (CVE-2026-65840)
Severity: critical · Patch status: patched · Since 2026-12-03 · CVE-2026-65840
A tenant-isolation flaw in Fider's getVerificationByKey (app/services/sqlstore/postgres/tenant.go:133) queries the emailverifications table by key and kind without a tenantid filter, unlike sibling queries in the same file. In multi-tenant mode (HOSTMODE=multi), an attacker with an account on any tenant can request a sign-in email on Tenant A, extract the verification key, and use it on Tenant B's /signin/verify endpoint to authenticate as the same email address there — gaining admin access if that email is an admin on Tenant B, or silently creating an account otherwise. Single-host deployments (the default) are unaffected. A public PoC against a local Docker setup is documented. Fixed in v0.36.0 (commit ce4f44bb) by adding the tenantid filter.
What to do
- Upgrade Fider to v0.36.0 or later immediately if running multi-tenant mode
- If upgrading is delayed, restrict access to /signin/verify and monitor for cross-tenant sign-in anomalies
- Audit multi-tenant instances for signs of cross-tenant authentication or unexpected account creation
- Single-host (HOST_MODE=single) operators are unaffected but should still update to stay current
Fixed versions
- github.com/getfider/fider 0.36.0
Sources
All live incidents on Threat Watch