Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-65840: vulnerabilidad de severidad crítica (CVSS 9.6) en github.com/getfider/fider.
Qué ocurre
Descripción original de la fuente (en inglés): ## Summary In multi-tenant mode (`HOST_MODE=multi`), an attacker can use an email verification key issued by Tenant A to authenticate as the same email address on Tenant B. This completely bypasses tenant isolation and allows unauthorized account takeover across tenants. **Single-host deployments (`HOST_MODE=single`, the default) are NOT affected.** ## Affected Component `app/services/sqlstore/postgres/tenant.go:133` — `getVerificationByKey` ## Vulnerability Details The `getVerificationByKey` function queries the `email_verifications` table without filtering by `tenant_id`: ```sql -- Vulnerable query (line 133) SELECT id, email, name, key, created_at, verified_at, expires_at, kind, user_id, attempts FROM email_verifications WHERE key = $1 AND kind = $2 LIMIT 1 ``` The table's unique index is `(tenant_id, key)` — the same key can theoretically exist across tenants. Without the `tenant_id` filter, the query returns the first matching row regardless of tenant. Sibling queries in the same file correctly scope by `tenant_id`, making this a clear regression from the established secure pattern: ```sql -- Secure pattern at line 148 WHERE tenant_id = $1 AND email = $2 AND code = $3 AND kind = $4 -- Secure pattern at line 182 (setKeyAsVerified) WHERE tenant_id = $2 AND key = $3 AND verified_at IS NULL ``` ## Attack Scenario **Prerequisite:** the attacker only needs an account on any tenant (zero special privilege). 1. Attacker registers on `tenanta.example.com` with `attacker@evil.com` 2. Attacker requests a sign-in email on `tenanta.example.com` and obtains the verification key from the email 3. Attacker visits `https://tenantb.example.com/signin/verify?k=<KEY>` 4. Fider looks up…
Por qué importa
Severidad crítica, CVSS 9.6.
Productos y versiones afectados
github.com/getfider/fider < 0.36.0 (corregido en 0.36.0)
| Producto | Versiones | Corregido en |
|---|---|---|
| github.com/getfider/fider | < 0.36.0 | 0.36.0 |
Acción recomendada por la fuente
Actualizar a una versión corregida: 0.36.0.
Corregido en: 0.36.0
Fuentes y referencias
- https://github.com/advisories/GHSA-vxjw-gv4f-vq58 — GHSA
- https://github.com/getfider/fider/security/advisories/GHSA-vxjw-gv4f-vq58 — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-65840 — GHSA
- https://github.com/getfider/fider/commit/ce4f44bb1055d7f6e4a948613c1cfcd5d53126c8 — GHSA
- https://github.com/getfider/fider/releases/tag/v0.36.0 — GHSA
- https://github.com/getfider/fider — OSV
Debilidades (CWE): CWE-639
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.