high8.1
CVE-2026-58269
Sync-in Server is an open-source platform for file storage, sharing, collaboration, and syncing.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @sync-in/server | <= 2.3.0 | 2.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-92cr-jxw4-5wjg
- https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg
- https://nvd.nist.gov/vuln/detail/CVE-2026-58269
- https://github.com/Sync-in/server/pull/228
- https://github.com/Sync-in/server/commit/3ec74e2ea1f538fe1a3ac9487bdf24a19e548361
- https://github.com/Sync-in/server/releases/tag/v2.4.0