p PatchFirst

CVE-2026-58269

CVE-2026-58269 · Sync-in Server has a complete 2FA Bypass via `POST /api/auth/token`

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

Sync-in Server is an open-source platform for file storage, sharing, collaboration, and syncing. Prior to version 2.4.0, `POST /api/auth/token` authenticates with username and password only, then calls `getTokens()`, which returns full access and refresh JWTs without checking whether the account has TOTP 2FA enabled. An attacker with stolen or phished credentials can bypass 2FA in a single request. The parallel login endpoint (`POST /api/auth/login`) correctly enforces 2FA by calling `setCookies(user, res, true)`, which gates on `user.twoFaEnabled`. Version 2.4.0 patches the issue.

CVSS 8.1 · Высокий · EPSS 0,3% · Есть исправление

Опубликовано
Обновлено

Стек: node

Затронутые продукты и версии

  • server

    Версии
    • < 2.4.0: Затронуто

    Нет опубликованного исправления

  • @sync-in/server npm

    Затронутые диапазоны версий
    • SEMVER: < 2.4.0

    Обновитесь до 2.4.0

Первоисточники

Проверьте свой сервер →