Description
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.
Severity (CVSS)
| Base score | 8.1 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Provided by | CNA |
Weaknesses
- CWE-288 — CWE-288: Authentication Bypass Using an Alternate Path or Channel
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Sync-in | server | < 2.4.0 |
References
- https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg (x_refsource_CONFIRM)
Generated from the official CVE List on 22 Sep 2026 07:03 UTC.