Skip to content

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

HighCVSS 8.1 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
Sync-in server(npm) < 2.4.0; <= 2.3.0 2.4.0 Fixed
Sync-in server = < 2.4.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Sync-in server = < 2.4.0 No fix listed
Sync-in server(npm) <= 2.3.0 No fix listed
Sync-in server(npm) < 2.4.0 2.4.0

References